SA-MP Forums Archive
Help Need in 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: Help Need in ZCMD (/showthread.php?tid=384084)



Help Need in ZCMD - Tuntun - 10.10.2012

Hello
in my Gamemode all cmd's on #include <a_samp> i mean my all cmd in "if"
and if i want to make a cmd in zcmd like CMD:MY CMD i need change my all cmd's to zcmd?


Re: Help Need in ZCMD - JaKe Elite - 10.10.2012

You mean if you've strcmp OnPlayerCommandText?

Yes, yes you need to change it all to zcmd.


Re: Help Need in ZCMD - Tuntun - 10.10.2012

oooh god... it is hard to make all to ZCMD... can you help me? do u have skype?


Re: Help Need in ZCMD - denNorske - 10.10.2012

its not hard.

replace "if (stcmp(cmdtext,"/command",false))" with

CMD:command(playerid,params[])



Remember to use the includes!

#include <ZCMD> (on top of script)


Re: Help Need in ZCMD - Tuntun - 10.10.2012

Can you explain me how make cmd by very easy? on <a_samp>
please explain me... how make cmd in <a_samp>


Re: Help Need in ZCMD - JaKe Elite - 10.10.2012

strcmp is not only use for command making.

strcmp means string comparing.