1
0
Fork 0
mirror of https://codeberg.org/spire/sm_whitelist.git synced 2026-06-03 10:14:07 +02:00

also allow using the tftrue command for loading whitelists

This commit is contained in:
Robin Appelman 2017-03-01 20:39:40 +01:00
commit 22196dcb7e
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -36,6 +36,7 @@ public OnPluginStart()
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("tftrue_whitelist_id", DownloadWhiteListAction, "Download and execute a whitelist");
}
public Action:DownloadWhiteListAction(client, args)