[Ajuda] COR NICK
#3

Fiz este sistema que te permite escolher as cores que os players terгo e ela й setada de forma randфmica.
PHP код:
new CORES [ ] = {
0x00FF80AA,
0x80FF00AA,
0xFFFFFFAA,
0x0080FFAA,
0x0080FFAA,
0x00FFFFAA,
0x0080C0AA,
0x8F20FFAA
};

public 
OnPlayerConnect(playerid)
{
    new 
random1 = random( sizeof( CORES ) ) ;
    
SetPlayerColor(playerid, COLORS [ random2 ]) ;
    return 
1;
} 
Reply


Messages In This Thread
COR NICK - by maxblaya01 - 03.09.2015, 04:27
AW: COR NICK - by cicinho - 03.09.2015, 08:49
Re: COR NICK - by [BOPE]Seu._.Madruga - 03.09.2015, 17:31
Re: COR NICK - by maxblaya01 - 03.09.2015, 17:51
Re: COR NICK - by iTakelot - 03.09.2015, 17:55
Re: COR NICK - by maxblaya01 - 03.09.2015, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)