Command
#1

Hello.
I'm creating a new command but i get some few errors.
So would be nice if anyone could help me with this.

This command is supposed to put my color as red but when i compile it i get error and i also miss how to take the red color off to the default one like /coloroff

Код:
CMD:setcolour
if (strcmp("/setcolor", cmdtext, true, 10) == 0)
if(APlayerData[playerid][PlayerLevel] >= 2 || IsPlayerAdmin(playerid))
	{
       SetPlayerColor(playerid,0xFF0000AA) 
		return 1;
	}
	return 0;
}
Reply


Messages In This Thread
Command - by NathNathii - 19.02.2013, 18:20
Re: Command - by bensmart469 - 19.02.2013, 18:56
Re: Command - by NathNathii - 19.02.2013, 19:00
Re: Command - by SilverKiller - 19.02.2013, 19:36

Forum Jump:


Users browsing this thread: 1 Guest(s)