SA-MP Forums Archive
ZCMD Help! - 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 Help! (/showthread.php?tid=401732)



ZCMD Help! - lewis_junior - 23.12.2012

Hello, I need help with converting my script from strcmp to ZCMD. If someone could help i'd be grateful! I'm a newb scripter, but eager to learn, and I am most comfortable using ZMCD.
Here's the script I am editing. If someone can show me how to edit it, or change all commands to ZCMD ones please.
I attempted to edit it, but it failed. I even looked at tutorials

http://pastebin.com/RnCr3Uhz


Re: ZCMD Help! - park4bmx - 23.12.2012

Use "CTRL + H" then find the same exact text and changed them.
E.g
pawn Код:
if(strcmp(cmd,"
Then replace that with
pawn Код:
COMMAND:
The other half
pawn Код:
" ,true) ==0)
And replace that with
pawn Код:
(playerid,params[])
//u don't need the params
NOTE: the space's between the comments might not be the Sam as urs just an example!