What to choos.. strcmp or 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: What to choos.. strcmp or zcmd (
/showthread.php?tid=310339)
What to choos.. strcmp or zcmd -
milanosie - 11.01.2012
Hello, so I have experience with strcmp..
and 0 with zcmd..
But I heared zcmd was better or something.
Is it worth changing?
Is it really better?
Re : What to choos.. strcmp or zcmd -
ricardo178 - 11.01.2012
ZCMD + SSCANF.
By the way, you can always learn Y_CMD, but between these 2, ZCMD without any doubt.
Strcmp, is the main pawno script.
P.S. I am Ricardo. :P
Re: What to choos.. strcmp or zcmd -
Kiets - 11.01.2012
of course it is better,faster and so on.
read this for more info how to use it
https://sampforum.blast.hk/showthread.php?tid=91354
Re: What to choos.. strcmp or zcmd -
-Prodigy- - 11.01.2012
It's worth it, and yes..It's way better.
pawn Код:
if(strcmp(...))
{
// Command
}
// OR
CMD:command(playerid, params[])
{
// Command
}
So yes, take your time and change from that old method.
Re: What to choos.. strcmp or zcmd -
lamarr007 - 11.01.2012
ZCMD is really better than normal strcmp. And its easy to change it (strcmp to ZCMD)