Posts: 6,129
Threads: 36
Joined: Jan 2009
You'll want to get the RGB colour and use SetPlayerColor().
Here's a quick example, even though the wiki explains it in better context:
pawn Код:
if(PlayerInfo[playerid][pLeader] == 1)
{
SetPlayerColor(playerid, 255255255); // PD Chief gets color white.
}
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by guaid
Quote:
Originally Posted by Calgon
You'll want to get the RGB colour and use SetPlayerColor().
Here's a quick example, even though the wiki explains it in better context:
pawn Код:
if(PlayerInfo[playerid][pLeader] == 1) { SetPlayerColor(playerid, 255255255); // PD Chief gets color white. }
|
Okay.. But cant see a reason for changin leader to white,
|
It was an example. You can find other RGB colour values by searching ******.
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by guaid
Quote:
Originally Posted by Calgon
Quote:
Originally Posted by guaid
Quote:
Originally Posted by Calgon
You'll want to get the RGB colour and use SetPlayerColor().
Here's a quick example, even though the wiki explains it in better context:
pawn Код:
if(PlayerInfo[playerid][pLeader] == 1) { SetPlayerColor(playerid, 255255255); // PD Chief gets color white. }
|
Okay.. But cant see a reason for changin leader to white,
|
It was an example. You can find other RGB colour values by searching ******.
|
Thats waste of time since i got over 160 colours in a .txt document 
|
Whatever suites you, it was an example. Use COLOR_NAME as defined or whatever then alongside SetPlayerColor().