29.05.2010, 20:21
at the bottom of OnPlayerCommandText change return 0; to return 1; the will get rid of UNKNOWN COMMAND and then just format a msgs jus above that
or
pawn Код:
new str[128];
format(str,sizeof(str),"There is no command like your <%s>",cmdtext);
SendCilentMessage(playerid,colour,str);
pawn Код:
new str[128];
if(str[0] == /) { //only for commands that start with "/"
format(str,sizeof(str),"There is no command like your <%s>",cmdtext);
SendCilentMessage(playerid,colour,str);
return 1;
}
else return 0; //unknown command