Small question about ZCMD - 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: Small question about ZCMD (
/showthread.php?tid=253049)
Small question about ZCMD -
BizzyD - 04.05.2011
Hello, i got a small question.
Is it possible to make like this :
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
return SendClientMessage(playerid, COLOR_RED, "Invaild command");
}
But in ZCMD? Its a little hard to explain. But is that possible?
Instead of : SERVER: Unknown command
Re: Small question about ZCMD -
Pooh7 - 04.05.2011
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success) return ...
return 1;
}
Re: Small question about ZCMD -
BizzyD - 04.05.2011
Thanks :P