On spawn name can only be these colors?
#3

under OnPlayerSpawn
pawn Код:
new randomcolor = random(3)

switch(randomcolor)
{
    case 0: SetPlayerColor(playerid,BLUE);
    case 1: SetPlayerColor(playerid,GREEN);
    case 2: SetPlayerColor(playerid,RED);
}
Reply


Messages In This Thread
On spawn name can only be these colors? - by ThePS3Guy - 10.08.2009, 01:55
Re: On spawn name can only be these colors? - by BioShock - 10.08.2009, 03:05
Re: On spawn name can only be these colors? - by Yuryfury - 10.08.2009, 03:18
Re: On spawn name can only be these colors? - by ThePS3Guy - 10.08.2009, 05:43

Forum Jump:


Users browsing this thread: 1 Guest(s)