diff --git a/plugins/antiflood.sp b/plugins/antiflood.sp index 1ecc2179..be328a20 100644 --- a/plugins/antiflood.sp +++ b/plugins/antiflood.sp @@ -40,7 +40,7 @@ new Handle:sm_flood_time; /* Handle to sm_flood_time convar */ public OnPluginStart() { - LoadTranslations("core.cfg"); + LoadTranslations("plugin.antiflood.cfg"); RegConsoleCmd("say", CheckChatFlood); RegConsoleCmd("say_team", CheckChatFlood); diff --git a/translations/core.cfg b/translations/core.cfg index f19140de..d096fadb 100644 --- a/translations/core.cfg +++ b/translations/core.cfg @@ -19,9 +19,4 @@ { "en" "Exit" } - - "Flooding the server" - { - "en" "You are flooding the server!" - } } diff --git a/translations/plugin.antiflood.cfg b/translations/plugin.antiflood.cfg new file mode 100644 index 00000000..0f25ff87 --- /dev/null +++ b/translations/plugin.antiflood.cfg @@ -0,0 +1,7 @@ +"Phrases" +{ + "Flooding the server" + { + "en" "You are flooding the server!" + } +}