removed extensions from LoadTranslations() calls
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401033
This commit is contained in:
parent
afef0ac976
commit
761890b470
@ -40,7 +40,7 @@ new Handle:sm_flood_time; /* Handle to sm_flood_time convar */
|
||||
|
||||
public OnPluginStart()
|
||||
{
|
||||
LoadTranslations("plugin.antiflood.txt");
|
||||
LoadTranslations("plugin.antiflood");
|
||||
|
||||
RegConsoleCmd("say", CheckChatFlood);
|
||||
RegConsoleCmd("say_team", CheckChatFlood);
|
||||
|
@ -39,8 +39,8 @@ new Handle:hBanRemoved = INVALID_HANDLE;
|
||||
|
||||
public OnPluginStart()
|
||||
{
|
||||
LoadTranslations("common.phrases.txt");
|
||||
LoadTranslations("plugin.basecommands.txt");
|
||||
LoadTranslations("common.phrases");
|
||||
LoadTranslations("plugin.basecommands");
|
||||
RegAdminCmd("sm_kick", Command_Kick, ADMFLAG_KICK, "sm_kick <#userid|name> [reason]");
|
||||
RegAdminCmd("sm_map", Command_Map, ADMFLAG_CHANGEMAP, "sm_map <map>");
|
||||
RegAdminCmd("sm_rcon", Command_Rcon, ADMFLAG_RCON, "sm_rcon <args>");
|
||||
|
@ -43,7 +43,7 @@ new Handle:sv_visiblemaxplayers;
|
||||
|
||||
public OnPluginStart()
|
||||
{
|
||||
LoadTranslations("plugin.reservedslots.txt");
|
||||
LoadTranslations("plugin.reservedslots");
|
||||
|
||||
sm_reserved_slots = CreateConVar("sm_reserved_slots", "0", "Number of reserved player slots", 0, true, 0.0);
|
||||
sm_hide_slots = CreateConVar("sm_hide_slots", "0", "If set to 1, reserved slots will hidden (subtracted from the max slot count)", 0, true, 0.0, true, 1.0);
|
||||
|
Loading…
Reference in New Issue
Block a user