Is this possible with 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)
+--- Thread: Is this possible with zcmd? (
/showthread.php?tid=313189)
Is this possible with zcmd? -
milanosie - 24.01.2012
hi there howdies!
I know its possible to make a custom "Unkown Command. pm an admin for help!"
for strcmp..
by
if(strcmp blablabla
//all commands here
else return SendClientMessage(playerid, COLOR_GREY, "unkwon command ERROR ERROR OVERFLOW BLEEEP");
is this also possible with zcmd?
Re: Is this possible with zcmd? -
Konstantinos - 24.01.2012
Yes, it is!
pawn Код:
public OnPlayerCommandPerformed( playerid, cmdtext[ ], success )
{
if ( !success )
{
SendClientMessage( playerid, COLOR_GREY, "unkwon command ERROR ERROR OVERFLOW BLEEEP" );
}
return 1;
}
Re: Is this possible with zcmd? -
milanosie - 24.01.2012
just add that public... thats all?
Re: Is this possible with zcmd? -
milanosie - 24.01.2012
U sir dwane, are my new best friend

lol:P
no seriously:P thanks for helping me with a lot of questions:P