SA-MP Forums Archive
Convert to 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: Convert to ZCMD. (/showthread.php?tid=280510)



Convert to ZCMD. - Lynn - 01.09.2011

So I heard there is a tool that will make all my command ZCMD.
I don't think it's real because I can't seem to find it.
But if it is, can someone please post a link here?
I would manually do it.
But I am doing it for two GM(RP) One from scratch so there isn't that many commands but still would take a very long time for me to re-do them myself.
Thanks.


Re: Convert to ZCMD. - Jafet_Macario - 01.09.2011

Yeah there is one, uhm but it only converts the first line, I mean instead of:
pawn Код:
if(strcmp(cmd, "/example", true) == 0)
you get
pawn Код:
CMD:example(playerid, params[])
that's all.http://forum.sa-mp.com/showthread.ph...highlight=zcmd


Re: Convert to ZCMD. - LZLo - 01.09.2011

http://sampforum.hu/index.php?page=zcmd


Re: Convert to ZCMD. - =WoR=G4M3Ov3r - 01.09.2011

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

You mean this ?


Re: Convert to ZCMD. - PrawkC - 01.09.2011

Considering most commands using strcmp also use strtok, you'd had to rewrite them to use sscanf, or what ever else.


Re: Convert to ZCMD. - Lynn - 01.09.2011

Oh...Blah That's not that useful.
Thanks though.