diff --git a/plugins/adminmenu.sp b/plugins/adminmenu.sp index bff7995c..1a2126c7 100644 --- a/plugins/adminmenu.sp +++ b/plugins/adminmenu.sp @@ -175,6 +175,12 @@ public __AddTargetsToMenu(Handle:plugin, numParams) public Action:Command_DisplayMenu(client, args) { + if (client == 0) + { + ReplyToCommand(client, "[SM] %t", "Command is in-game only"); + return Plugin_Handled; + } + DisplayTopMenu(hAdminMenu, client, TopMenuPosition_Start); return Plugin_Handled; diff --git a/translations/common.phrases.txt b/translations/common.phrases.txt index 0f831b76..de667946 100644 --- a/translations/common.phrases.txt +++ b/translations/common.phrases.txt @@ -286,24 +286,34 @@ { "en" "Reload admins" } + "Ban player" { "en" "Ban player" } + "Ban reason" { "en" "Ban reason" } + "Burn player" { "en" "Burn player" } + "Slap player" { "en" "Slap player" } + "Slap damage" { "en" "Slap damage" } -} \ No newline at end of file + + "Command is in-game only" + { + "en" "This command can only be used in-game." + } +}