removed extensions from LoadTranslations() calls

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401033
This commit is contained in:
David Anderson 2007-06-29 07:09:56 +00:00
parent afef0ac976
commit 761890b470
3 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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>");

View File

@ -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);