Unknown Command - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Unknown Command (
/showthread.php?tid=67932)
Unknown Command -
Scoots - 05.03.2009
Hi! How can i changa message when enter wrong commands SERVER: Unkonwn Command to Server: that command does not exist
Re: Unknown Command -
[RP]Rav - 05.03.2009
pawn Код:
OnPlayerCommandText(playerid,cmdtext[])
{
[...]
// some commands
[...]
return SendClientMessage(playerid, colour, "That command does not exist"
}
Re: Unknown Command -
MenaceX^ - 05.03.2009
Also you can finish the public with 0. So it allways says: "SERVER: Unknowon command."