SA-MP Forums Archive
Which is better? - 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: Which is better? (/showthread.php?tid=533413)



Which is better? - AiRaLoKa - 24.08.2014

hi all...

it's a little bit silly, but i'm so curious. Which is better and faster, Zcmd or y_cmd?

EDIT:

read the last thread before replying


Re: Which is better? - MicroD - 24.08.2014

y_cmd is faster.


Re: Which is better? - Sledgehammer - 24.08.2014

Personally I feel that zcmd is better but I'm not to sure what one is faster. Most scripts I've edited have had zcmd.


Re: Which is better? - PrivatioBoni - 24.08.2014

I'd prefer to use ZCMD, not sure why. Both are probably fine.


Re: Which is better? - FahadKing07 - 24.08.2014

YCMD is better than ZCMD.
I suggest YCMD.


Re: Which is better? - AiRaLoKa - 24.08.2014

now, how can i do something like "cmd_commandname(playerid, "something");" with y_commands?


Re: Which is better? - iFarbod - 24.08.2014

You have more possibilities with Y_CMD. But i'd suggest to use zcmd.


Re: Which is better? - MicroD - 24.08.2014

Quote:
Originally Posted by AiRaLoKa
Посмотреть сообщение
now, how can i do something like "cmd_commandname(playerid, "something");" with y_commands?
Command_AddAltNamed(old[], altname[])


Re: Which is better? - Djole1337 - 24.08.2014

zcmd is a standalone library unlike y_cmd


Re: Which is better? - AiRaLoKa - 24.08.2014

Quote:
Originally Posted by MicroD
Посмотреть сообщение
Command_AddAltNamed(old[], altname[])
according to http://forum.sa-mp.com/showthread.ph...md_+y_commands


Quote:
Originally Posted by ******
Command_AddAltNamed(old[], altname[]) - Adds an alternate spelling for a command by name.
it's just give another speeling (A.K.A thingy i think) not calling the command in another process.

what i meant is like this
e.g. when i response the dialog, it's will call the "/kill" command. in Zcmd, it's "cmd_kill(playerid, "");", how can i do it in y_commands?