Transforming zcmd's commands to regular commands
#7

pawn Code:
if(RaceBusy == 0x01 || RaceStarted == 1) return SendClientMessage(playerid, RED, "<!> There's a race currently. Wait first till race ends!");
I think it's that. Probably that 0x01 is wrong, unsure though.

pawn Code:
if (strcmp("/startautorace", cmdtext, true, 10) == 0)
Why typing that long if you can simply do:
pawn Code:
if(!strcmp(cmdtext,"/startautorace",true))
Reply


Messages In This Thread
Transforming zcmd's commands to regular commands - by nuriel8833 - 07.01.2011, 15:14
Re: Transforming zcmd's commands to regular commands - by Jochemd - 07.01.2011, 15:19
Re: Transforming zcmd's commands to regular commands - by HyperZ - 07.01.2011, 15:21
Re: Transforming zcmd's commands to regular commands - by nuriel8833 - 07.01.2011, 15:32
Re: Transforming zcmd's commands to regular commands - by Jochemd - 07.01.2011, 15:34
Re: Transforming zcmd's commands to regular commands - by nuriel8833 - 07.01.2011, 15:40
Re: Transforming zcmd's commands to regular commands - by Jochemd - 07.01.2011, 15:48
Re: Transforming zcmd's commands to regular commands - by Joe Staff - 07.01.2011, 15:49
Re: Transforming zcmd's commands to regular commands - by nuriel8833 - 07.01.2011, 15:51
Re: Transforming zcmd's commands to regular commands - by HyperZ - 07.01.2011, 15:52
Re: Transforming zcmd's commands to regular commands - by nuriel8833 - 07.01.2011, 15:58
Re: Transforming zcmd's commands to regular commands - by HyperZ - 07.01.2011, 16:04
Re: Transforming zcmd's commands to regular commands - by Toreno - 07.01.2011, 16:07
Re: Transforming zcmd's commands to regular commands - by Kaylux - 07.01.2011, 16:08
Re: Transforming zcmd's commands to regular commands - by Scenario - 07.01.2011, 16:09
Re: Transforming zcmd's commands to regular commands - by nuriel8833 - 07.01.2011, 17:05
Re: Transforming zcmd's commands to regular commands - by Toreno - 07.01.2011, 17:23
Re: Transforming zcmd's commands to regular commands - by nuriel8833 - 08.01.2011, 05:41

Forum Jump:


Users browsing this thread: 2 Guest(s)