Unknown Command
#2

Under OnPlayerCommandText Change the return Value

Example:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
 // YOUR COMMANDS UP HERE

return 0; // --> Change return 0 with --> return SendClientMessage(playerid, "Server: Command Doesn't exist!", COLOR);
}
You can change "ServerL Command Doesn't exist!" with whatever error message you want, and you're done
Reply


Messages In This Thread
Unknown Command - by AnonScripter - 07.11.2013, 09:07
Re: Unknown Command - by Elie1996 - 07.11.2013, 09:51
Re: Unknown Command - by Raza2013 - 07.11.2013, 09:55
Re: Unknown Command - by AnonScripter - 07.11.2013, 19:02

Forum Jump:


Users browsing this thread: 1 Guest(s)