Posts: 1,664
Threads: 319
Joined: May 2012
Reputation:
0
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?
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
You mean if you've strcmp OnPlayerCommandText?
Yes, yes you need to change it all to zcmd.
Posts: 1,664
Threads: 319
Joined: May 2012
Reputation:
0
oooh god... it is hard to make all to ZCMD... can you help me? do u have skype?
Posts: 789
Threads: 76
Joined: Nov 2011
Reputation:
0
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)
Posts: 1,664
Threads: 319
Joined: May 2012
Reputation:
0
Can you explain me how make cmd by very easy? on <a_samp>
please explain me... how make cmd in <a_samp>
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
strcmp is not only use for command making.
strcmp means string comparing.