This won't work if he's using a command processor try this
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if(!success) SendClientMessage(playerid, -1, "The command you typed is invalid use/cmds"); return1; }
Quote:
Originally Posted by Unknownich
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { //commands here return SendClientMessage(playerid, color, "Invalid command");