How to change zcmd SERVER: Unkown 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)
+--- Thread: How to change zcmd SERVER: Unkown Command (
/showthread.php?tid=433535)
How to change zcmd SERVER: Unkown Command -
Omirrow - 27.04.2013
how to change zcmd SERVER: Unkown Command message
Re: How to change zcmd SERVER: Unkown Command -
MattyG - 27.04.2013
Instead of returning 0 at the bottom of OnPlayerCommandText, try returning a SendClientMessage
Oh, and try searching before you post
https://sampforum.blast.hk/showthread.php?tid=342567
Re: How to change zcmd SERVER: Unkown Command -
Omirrow - 27.04.2013
I ask for zcmd
Re: How to change zcmd SERVER: Unkown Command -
MattyG - 27.04.2013
Sorry, I really should have read it more thoroughly, anyway try adding this under OnPlayerCommandPerformed:
pawn Код:
if(!success)
{
SendClientMessage(playerid, -1, "Unkown command message here");
}
Just change the message and colour to whatever you want, and again, sorry
Re: How to change zcmd SERVER: Unkown Command -
Omirrow - 27.04.2013
Thanks worked