SA-MP Forums Archive
zcmd, strcmp and dcmd. - 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: zcmd, strcmp and dcmd. (/showthread.php?tid=436433)



zcmd, strcmp and dcmd. - Nostrum - 11.05.2013

Hello, could someone explain me how would these 3 command processors perform on 100 player base.
Lets say, its a normal day, they are roleplaying and such..


Re: zcmd, strcmp and dcmd. - feartonyb - 11.05.2013

I will use ZCMD because its using less resources of all 3 and it got nice functions.


Re : zcmd, strcmp and dcmd. - Rayan_black - 11.05.2013

I started with ZCMD and I'll always use ZCMD.. I don't know about the others tho.


Re: zcmd, strcmp and dcmd. - [HiC]TheKiller - 11.05.2013

DCMD is pretty much just a easy way to use strcmp. strcmp is quite inefficient, especially when you want to check for params as well. ZCMD is by far the most efficient out of those three and the easiest as well. I would suggest ZCMD or something similar.


Re: zcmd, strcmp and dcmd. - feartonyb - 11.05.2013

Just don't use YCMD caz it uses a lot of resources. Since you got 100+ players it will lag as hell


Re: zcmd, strcmp and dcmd. - CreativityLacker - 11.05.2013

Quote:
Originally Posted by feartonyb
Посмотреть сообщение
Just don't use YCMD caz it uses a lot of resources. Since you got 100+ players it will lag as hell
I dunno if it uses too much resources, but i'll tell you the con's and pro's of each -


STRCMP - pure bullshit, no advantages
ZCMD - fast, easy to use, GREAT if you're a simple scripter
YCMD - preferably, I'd use this with a GM which uses YSI library, as the extra features this provides work only with YSI library. But, it's sort of complicated, and yes, I guess it DOES use extra resources.


Re: zcmd, strcmp and dcmd. - LarzI - 11.05.2013

YCMD is proven to be faster than ZCMD after a certain amount of commands in your script. If you're making a big script, you should definitely use YCMD.


AW: zcmd, strcmp and dcmd. - Blackazur - 11.05.2013

I use just ZCMD, i find it is the best command processor.


Re: zcmd, strcmp and dcmd. - RvGamers - 11.05.2013

If your script contains more than 100 commands, use y_commands. If it has less than 100 commands, use ZCMD. The other two really aren't in the discussion, although using DCMD is still ten times better than strcmp. This is speaking strictly performance wise. I still prefer y_commands anyways for its inline permission/help system. It may take a little longer to understand at first, but you'll thank me in the long run.

https://sampforum.blast.hk/showthread.php?tid=169029