1.1 --- a/plugins/adminmenu.sp Wed Oct 17 16:46:27 2007 +0000
1.2 +++ b/plugins/adminmenu.sp Wed Oct 17 17:12:26 2007 +0000
1.3 @@ -175,6 +175,12 @@
1.4
1.5 public Action:Command_DisplayMenu(client, args)
1.6 {
1.7 + if (client == 0)
1.8 + {
1.9 + ReplyToCommand(client, "[SM] %t", "Command is in-game only");
1.10 + return Plugin_Handled;
1.11 + }
1.12 +
1.13 DisplayTopMenu(hAdminMenu, client, TopMenuPosition_Start);
1.14
1.15 return Plugin_Handled;
2.1 --- a/translations/common.phrases.txt Wed Oct 17 16:46:27 2007 +0000
2.2 +++ b/translations/common.phrases.txt Wed Oct 17 17:12:26 2007 +0000
2.3 @@ -286,24 +286,34 @@
2.4 {
2.5 "en" "Reload admins"
2.6 }
2.7 +
2.8 "Ban player"
2.9 {
2.10 "en" "Ban player"
2.11 }
2.12 +
2.13 "Ban reason"
2.14 {
2.15 "en" "Ban reason"
2.16 }
2.17 +
2.18 "Burn player"
2.19 {
2.20 "en" "Burn player"
2.21 }
2.22 +
2.23 "Slap player"
2.24 {
2.25 "en" "Slap player"
2.26 }
2.27 +
2.28 "Slap damage"
2.29 {
2.30 "en" "Slap damage"
2.31 }
2.32 -}
2.33 \ No newline at end of file
2.34 +
2.35 + "Command is in-game only"
2.36 + {
2.37 + "en" "This command can only be used in-game."
2.38 + }
2.39 +}