08.04.2010, 21:37
add this to the top of your script you can change these numbers
now add this too
thanks too ♣ Joker ♠
hope this helps you i dont know if there is allready a tut for this i found this myself
pawn Code:
new playerColors[MAX_PLAYERS] = {
0xAA3333AA,
0xAFAFAFAA,
0x33AA33AA,
0xAA3333AA,
0xFFFF00AA,
0xFFFFFFAA,
0xFF9900AA,
0xFF8C55FF,
0x6DC5F3FF,
0xFF0000FF,
0x2986CEFF,
0xC6BEBDFF,
0x000000FF,
0x74E80099,
0xBE615099,
0x00BBBB99,
0xFF0000FF
};
pawn Code:
SetPlayerColor(playerid, playerColors[playerid % sizeof playerColors]);
pawn Code:
public OnPlayerRequestClass(playerid, classid)