19.02.2013, 18:20
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
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; }