Moved antiflood related phrase from core.cfg to plugin.antiflood.cfg
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40945
This commit is contained in:
parent
6acaaac769
commit
a2a54f6000
@ -40,7 +40,7 @@ new Handle:sm_flood_time; /* Handle to sm_flood_time convar */
|
|||||||
|
|
||||||
public OnPluginStart()
|
public OnPluginStart()
|
||||||
{
|
{
|
||||||
LoadTranslations("core.cfg");
|
LoadTranslations("plugin.antiflood.cfg");
|
||||||
|
|
||||||
RegConsoleCmd("say", CheckChatFlood);
|
RegConsoleCmd("say", CheckChatFlood);
|
||||||
RegConsoleCmd("say_team", CheckChatFlood);
|
RegConsoleCmd("say_team", CheckChatFlood);
|
||||||
|
@ -19,9 +19,4 @@
|
|||||||
{
|
{
|
||||||
"en" "Exit"
|
"en" "Exit"
|
||||||
}
|
}
|
||||||
|
|
||||||
"Flooding the server"
|
|
||||||
{
|
|
||||||
"en" "You are flooding the server!"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
7
translations/plugin.antiflood.cfg
Normal file
7
translations/plugin.antiflood.cfg
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
"Phrases"
|
||||||
|
{
|
||||||
|
"Flooding the server"
|
||||||
|
{
|
||||||
|
"en" "You are flooding the server!"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user