mirror of
https://codeberg.org/spire/sm_whitelist.git
synced 2026-06-03 18:24:06 +02:00
also allow using the tftrue command for loading whitelists
This commit is contained in:
parent
4fbea58b05
commit
22196dcb7e
2 changed files with 1 additions and 0 deletions
Binary file not shown.
|
|
@ -36,6 +36,7 @@ public OnPluginStart()
|
||||||
g_hCvarUrl = CreateConVar("sm_whitelist_tf_base", "http://whitelist.tf/download", "whitelist.tf download endpoint", FCVAR_PROTECTED);
|
g_hCvarUrl = CreateConVar("sm_whitelist_tf_base", "http://whitelist.tf/download", "whitelist.tf download endpoint", FCVAR_PROTECTED);
|
||||||
|
|
||||||
RegConsoleCmd("sm_whitelist_id", DownloadWhiteListAction, "Download and execute a whitelist");
|
RegConsoleCmd("sm_whitelist_id", DownloadWhiteListAction, "Download and execute a whitelist");
|
||||||
|
RegConsoleCmd("tftrue_whitelist_id", DownloadWhiteListAction, "Download and execute a whitelist");
|
||||||
}
|
}
|
||||||
|
|
||||||
public Action:DownloadWhiteListAction(client, args)
|
public Action:DownloadWhiteListAction(client, args)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue