simpler demo, added "Reload admins" option to "Server Commands" category
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401527
This commit is contained in:
parent
afbfb98f1a
commit
9c1807bd31
@ -54,6 +54,7 @@ new Handle:hTopMenu = INVALID_HANDLE;
|
||||
public OnPluginStart()
|
||||
{
|
||||
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>");
|
||||
|
@ -18,7 +18,7 @@ public AdminMenu_ReloadAdmins(Handle:topmenu,
|
||||
{
|
||||
if (action == TopMenuAction_DrawOption)
|
||||
{
|
||||
Format(buffer, maxlength, "%T", "Kick player", param);
|
||||
Format(buffer, maxlength, "%T", "Reload admins", param);
|
||||
}
|
||||
else if (action == TopMenuAction_SelectOption)
|
||||
{
|
||||
@ -33,5 +33,3 @@ public Action:Command_ReloadAdmins(client, args)
|
||||
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
|
||||
|
@ -261,5 +261,10 @@
|
||||
{
|
||||
"en" "Server Commands"
|
||||
}
|
||||
|
||||
"Reload admins"
|
||||
{
|
||||
"en" "Reload admins"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user