diff --git a/editor/npp/create-pawn-npp.pl b/editor/npp/create-pawn-npp.pl index f37d6370..6d561764 100644 --- a/editor/npp/create-pawn-npp.pl +++ b/editor/npp/create-pawn-npp.pl @@ -4,7 +4,7 @@ my $output = < - + @@ -12,7 +12,7 @@ my $output = <"'0"'0 { } - - ! % & ( ) , . : ; ? @ [ \ ] ^ | ~ + < = > + + - * / = ! % & ( ) , . : ; ? @ [ ] ^ | ~ + < = > 1/* 2*/ 0// for if else do while switch case default return break continue new decl public stock const enum forward static funcenum functag native sizeof true false # diff --git a/plugins/basetriggers.sp b/plugins/basetriggers.sp index b3428134..0a93c04a 100644 --- a/plugins/basetriggers.sp +++ b/plugins/basetriggers.sp @@ -210,6 +210,12 @@ public Action:Command_Nextmap(client, args) public Action:Command_Motd(client, args) { + if (client == 0) + { + ReplyToCommand(client, "[SM] %t", "Command is in-game only"); + return Plugin_Handled; + } + ShowMOTDPanel(client, "Message Of The Day", "motd", MOTDPANEL_TYPE_INDEX); return Plugin_Handled;