12.01.2014, 17:38
Hi all , i never understand this function with random...and i want to make something with colors .
When 1 player enter in game (OnPlayerConnect) i want to give him random color...i maked this :
And at OnPlayerConnect:
But ... no effect . What i can do ?
PS: Srry for my bad englesh...i am from italy.
When 1 player enter in game (OnPlayerConnect) i want to give him random color...i maked this :
Код:
new PlayerColors[200] = { 0xFF8C13FF,0xC715FFFF,0x20B2AAFF,0xDC143CFF..... };
Код:
SetPlayerColor(playerid, PlayerColors[playerid]);
PS: Srry for my bad englesh...i am from italy.