color rand
#2

pawn Код:
public OnPlayerConnect(playerid)
{
new random = random(sizeof(ColorsAlpha));
SetPlayerColor(playerid, ColorsAlpha[random]);
}
That should work.
Reply


Messages In This Thread
color rand - by Serediucr - 01.07.2009, 08:02
Re: color rand - by Brendan_Thomson - 01.07.2009, 08:05
Re: color rand - by Serediucr - 01.07.2009, 08:18

Forum Jump:


Users browsing this thread: 1 Guest(s)