What to choos.. strcmp or zcmd
#1

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?
Reply
#2

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
Reply
#3

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
Reply
#4

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.
Reply
#5

ZCMD is really better than normal strcmp. And its easy to change it (strcmp to ZCMD)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)