17.08.2011, 04:39
A quote from the wiki article on GetPlayerColor
If you want to use the default colours, click here, and add that code to your script.
Then, when a player connects, do:
Quote:
Important Note: GetPlayerColor will return nothing unless SetPlayerColor has been used! |
Then, when a player connects, do:
pawn Код:
SetPlayerColor(playerid,PlayerColors[playerid]-FF);//"-FF" takes away the alpha (transparency) value of 255 (FF)