[Tutorial] [TUT]How to change player colours
#1

add this to the top of your script you can change these numbers

pawn Code:
new playerColors[MAX_PLAYERS] = {
0xAA3333AA,
0xAFAFAFAA,
0x33AA33AA,
0xAA3333AA,
0xFFFF00AA,
0xFFFFFFAA,
0xFF9900AA,
0xFF8C55FF,
0x6DC5F3FF,
0xFF0000FF,
0x2986CEFF,
0xC6BEBDFF,
0x000000FF,
0x74E80099,
0xBE615099,
0x00BBBB99,
0xFF0000FF
};
now add this too
pawn Code:
SetPlayerColor(playerid, playerColors[playerid % sizeof playerColors]);
thanks too ♣ Joker ♠

pawn Code:
public OnPlayerRequestClass(playerid, classid)
hope this helps you i dont know if there is allready a tut for this i found this myself
Reply


Messages In This Thread
[TUT]How to change player colours - by johnathon956 - 08.04.2010, 21:37
Re: [TUT]How to change player colours - by Steven82 - 08.04.2010, 21:40
Re: [TUT]How to change player colours - by johnathon956 - 08.04.2010, 21:42
Re: [TUT]How to change player colours - by DarrenReeder - 08.04.2010, 22:14
Re: [TUT]How to change player colours - by snoob - 08.04.2010, 22:28
Re: [TUT]How to change player colours - by Nero_3D - 09.04.2010, 00:03
Re: [TUT]How to change player colours - by johnathon956 - 09.04.2010, 09:07
Re: [TUT]How to change player colours - by Grim_ - 09.04.2010, 09:20
Re: [TUT]How to change player colours - by johnathon956 - 09.04.2010, 09:22
Re: [TUT]How to change player colours - by Nero_3D - 09.04.2010, 11:45

Forum Jump:


Users browsing this thread: 1 Guest(s)