[HELP]Converting YCMD to ZCMD
#2

Just include ZCMD (and exclude YCMD) and change all the 'YCMD:' to 'CMD:'.
So, if you have this:
pawn Код:
#include <a_samp>
#include <YCMD>

YCMD:command(playerid, params[])
{
    //Command
}
Change it to:
pawn Код:
#include <a_samp>
#include <zcmd>

CMD:command(playerid, params[])
{
    //Command
}
The fastest way to change ALL the "YCMD:" to "CMD:" is like this:

1) In pawno, press CTRL+H
2) In the "Search for:" box, typ: YCMD:
3) In the "Replace with:" box, typ: CMD:
4) Press ENTER
( 5) Press F5 to compile )

And then it's done. Should be done within a minute.

As for the params[], I guess that script is using SSCANF (it params are used). This also works in ZCMD (obviously). If you can't seem to done this, you can send your .PWN script to me in PM (and upload this script on pastebin as "private" or something) and I will do this for you, and send it back. But since this work is so easy, I don't think you'll fail in doing this.
Reply


Messages In This Thread
[HELP]Converting YCMD to ZCMD - by RenovanZ - 12.10.2012, 05:21
Re: [HELP]Converting YCMD to ZCMD - by Kwarde - 12.10.2012, 05:43
Re: [HELP]Converting YCMD to ZCMD - by RenovanZ - 12.10.2012, 05:48
Re: [HELP]Converting YCMD to ZCMD - by Faisal_khan - 12.10.2012, 05:51
Re: [HELP]Converting YCMD to ZCMD - by Kwarde - 12.10.2012, 05:53
Re: [HELP]Converting YCMD to ZCMD - by RenovanZ - 12.10.2012, 05:54
Re: [HELP]Converting YCMD to ZCMD - by Kwarde - 12.10.2012, 05:57
Re: [HELP]Converting YCMD to ZCMD - by RenovanZ - 12.10.2012, 05:59
Re: [HELP]Converting YCMD to ZCMD - by Kwarde - 12.10.2012, 06:02
Re: [HELP]Converting YCMD to ZCMD - by RenovanZ - 12.10.2012, 06:04

Forum Jump:


Users browsing this thread: 3 Guest(s)