New phrase file standard, use xxxx.phrases.txt
plugin.basecommands.txt not changed at this time --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401193
This commit is contained in:
parent
76c6bf732a
commit
74e90db64d
@ -38,7 +38,7 @@ public Plugin:myinfo =
|
|||||||
public OnPluginStart()
|
public OnPluginStart()
|
||||||
{
|
{
|
||||||
LoadTranslations("common.phrases");
|
LoadTranslations("common.phrases");
|
||||||
LoadTranslations("plugin.adminhelp");
|
LoadTranslations("adminhelp.phrases");
|
||||||
RegConsoleCmd("sm_help", HelpCmd, "Displays SourceMod commands and descriptions");
|
RegConsoleCmd("sm_help", HelpCmd, "Displays SourceMod commands and descriptions");
|
||||||
RegConsoleCmd("sm_searchcmd", HelpCmd, "Searches SourceMod commands");
|
RegConsoleCmd("sm_searchcmd", HelpCmd, "Searches SourceMod commands");
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ new Handle:sm_flood_time; /* Handle to sm_flood_time convar */
|
|||||||
|
|
||||||
public OnPluginStart()
|
public OnPluginStart()
|
||||||
{
|
{
|
||||||
LoadTranslations("plugin.antiflood");
|
LoadTranslations("antiflood.phrases");
|
||||||
|
|
||||||
RegConsoleCmd("say", CheckChatFlood);
|
RegConsoleCmd("say", CheckChatFlood);
|
||||||
RegConsoleCmd("say_team", CheckChatFlood);
|
RegConsoleCmd("say_team", CheckChatFlood);
|
||||||
|
@ -43,7 +43,7 @@ new Handle:g_Timer_TimeShow = INVALID_HANDLE;
|
|||||||
public OnPluginStart()
|
public OnPluginStart()
|
||||||
{
|
{
|
||||||
LoadTranslations("common.phrases");
|
LoadTranslations("common.phrases");
|
||||||
LoadTranslations("plugin.basetriggers");
|
LoadTranslations("basetriggers.phrases");
|
||||||
|
|
||||||
g_Cvar_TriggerShow = CreateConVar("sm_trigger_show", "1", "Display timeleft to all players? (0 off, 1 on, def. 1)", 0, true, 0.0, true, 1.0);
|
g_Cvar_TriggerShow = CreateConVar("sm_trigger_show", "1", "Display timeleft to all players? (0 off, 1 on, def. 1)", 0, true, 0.0, true, 1.0);
|
||||||
g_Cvar_TimeleftInterval = CreateConVar("sm_timeleft_interval", "0.0", "Display timeleft every x seconds. Default 0.", 0, true, 0.0, true, 1800.0);
|
g_Cvar_TimeleftInterval = CreateConVar("sm_timeleft_interval", "0.0", "Display timeleft every x seconds. Default 0.", 0, true, 0.0, true, 1800.0);
|
||||||
|
@ -49,7 +49,7 @@ new bool:g_INS = false;
|
|||||||
|
|
||||||
public OnPluginStart()
|
public OnPluginStart()
|
||||||
{
|
{
|
||||||
LoadTranslations("plugin.nextmap");
|
LoadTranslations("nextmap.phrases");
|
||||||
|
|
||||||
g_VGUIMenu = GetUserMessageId("VGUIMenu");
|
g_VGUIMenu = GetUserMessageId("VGUIMenu");
|
||||||
if (g_VGUIMenu == INVALID_MESSAGE_ID)
|
if (g_VGUIMenu == INVALID_MESSAGE_ID)
|
||||||
|
@ -43,7 +43,7 @@ new Handle:sv_visiblemaxplayers;
|
|||||||
|
|
||||||
public OnPluginStart()
|
public OnPluginStart()
|
||||||
{
|
{
|
||||||
LoadTranslations("plugin.reservedslots");
|
LoadTranslations("reservedslots.phrases");
|
||||||
|
|
||||||
sm_reserved_slots = CreateConVar("sm_reserved_slots", "0", "Number of reserved player slots", 0, true, 0.0);
|
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);
|
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