Change to ZCMD
#5

Quote:
Originally Posted by LarzI
Посмотреть сообщение
Quote:
Originally Posted by Faith
Посмотреть сообщение
The way I worked is I replaced (ctrl+h, replace all) every
pawn Код:
if(strcmp(cmd, "/
to
pawn Код:
COMMAND:
and

pawn Код:
", true) == 0)
to
pawn Код:
(playerid, params[])
Then for the scripts, well you just have to use params[] instead of cmdtext[] when you want a parameter and I use sscanf for multiple parameters.
Quote:
Originally Posted by LarzI
Посмотреть сообщение
Just read my tutorial, which I posted a link to in my above post. It should show you how to convert from strcmp to zcmd
Thanks guys, helped me allot
Reply


Messages In This Thread
Change to ZCMD - by FrankC - 27.09.2010, 18:43
Re: Change to ZCMD - by LarzI - 27.09.2010, 19:30
Re: Change to ZCMD - by Faith - 27.09.2010, 19:31
Re: Change to ZCMD - by LarzI - 27.09.2010, 19:32
Re: Change to ZCMD - by FrankC - 27.09.2010, 20:04
Re: Change to ZCMD - by LarzI - 27.09.2010, 20:09

Forum Jump:


Users browsing this thread: 2 Guest(s)