Little Help with zcmd and strcmp - 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: Little Help with zcmd and strcmp (
/showthread.php?tid=515931)
Little Help with zcmd and strcmp -
ADZAA - 28.05.2014
Hello,I used Godfather script for some commands in my mode.My gamemode is used ZCMD Command processor and...becouse I used ZCMD and strcmp,I put strcmp commands in OnPlayerCommandPerformed not in OnPlayerCommandText.Before that i made this "if(!success) SendClientMessageEx(playerid, COLOR_WHITE, "SERVER: Unknown command. Please use /help to list all available commands.");" and show me 26 erors.Please help.Thanks!
Re: Little Help with zcmd and strcmp -
iThePunisher - 28.05.2014
Show us the the errors and the line so we can help you
Re: Little Help with zcmd and strcmp -
Josh_Main - 28.05.2014
Quote:
Originally Posted by ADZAA
Hello,I used Godfather script for some commands in my mode.My gamemode is used ZCMD Command processor and...becouse I used ZCMD and strcmp,I put strcmp commands in OnPlayerCommandPerformed not in OnPlayerCommandText.Before that i made this "if(!success) SendClientMessageEx(playerid, COLOR_WHITE, "SERVER: Unknown command. Please use /help to list all available commands.");" and show me 26 erors.Please help.Thanks!
|
Use
pawn Код:
if(!success) return SendClientMessageEx(playerid, COLOR_WHITE, "SERVER: Unkown command. Please use /help to list all available commands.");
Re: Little Help with zcmd and strcmp -
ADZAA - 29.05.2014
Thanks Guys!