Update sbchecker/scripting/sbchecker.sp
This commit is contained in:
parent
48385445b2
commit
b0069a5802
@ -1,7 +1,7 @@
|
||||
#include <sourcemod>
|
||||
|
||||
#define VERSION "2.3.3"
|
||||
#define LISTBANS_USAGE "sm_listbans <#userid|name> - Lists a user's prior bans from Sourcebans"
|
||||
#define VERSION "2.3.4"
|
||||
#define LISTBANS_USAGE "sm_banlist/listban/s <#userid|name> - Lists a user's prior bans from Sourcebans"
|
||||
#define DATABASE_PREFIX "sb"
|
||||
|
||||
Menu g_PlayersMainMenu[MAXPLAYERS];
|
||||
@ -22,6 +22,8 @@ public void OnPluginStart()
|
||||
LoadTranslations("common.phrases");
|
||||
|
||||
RegAdminCmd("sm_listbans", OnListSourceBansCmd, ADMFLAG_BAN, LISTBANS_USAGE);
|
||||
RegAdminCmd("sm_listban", OnListSourceBansCmd, ADMFLAG_BAN, LISTBANS_USAGE);
|
||||
RegAdminCmd("sm_banlist", OnListSourceBansCmd, ADMFLAG_BAN, LISTBANS_USAGE)
|
||||
|
||||
Database.Connect(OnDatabaseConnected, "sourcebans");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user