How To Make Random Color On Connect
#2

Try this:
pawn Код:
new randomColor[10] = {Color1, color2, color3, color4....};
Then OnPlayerConnect or OnPlayerSpawn:

pawn Код:
SetPlayerColor(playerid, randomColor[random(sizeof(randomColor))]);
Maybe this will help.
Reply


Messages In This Thread
Solved - by SsHady - 10.03.2012, 06:12
Re: How To Make Random Color On Connect - by Faisal_khan - 10.03.2012, 06:24
Re: How To Make Random Color On Connect - by Shabi RoxX - 10.03.2012, 06:27
Re: How To Make Random Color On Connect - by SsHady - 10.03.2012, 06:34
Re: How To Make Random Color On Connect - by Faisal_khan - 10.03.2012, 06:42
Re: How To Make Random Color On Connect - by vinigas - 23.10.2014, 07:26
Re: How To Make Random Color On Connect - by joevega12 - 23.10.2014, 18:17

Forum Jump:


Users browsing this thread: 3 Guest(s)