Player Colors
#1

Hello! I'm making a Faction System and I need to colour the name of players in Scoreboard.
But the thing is, I only want to see the coloured name if the player is on my faction, if not, I will see the name white.
Код:
// Normal players
SetPlayerColor(playerid, 0xFFFFFFFF);
// Faction players
SetPlayerColor(playerid, 0x7ABE1FFF);

But if I do this, normal players can see the green colour, I need to show only the green letters if:

if(PlayerInfo[playerid][pFaction] == PlayerInfo[idtosee][pFaction]) Show Color Green
else Show Color White
Reply


Messages In This Thread
Player Colors - by HidroDF - 24.01.2017, 16:53
Re: Player Colors - by saffierr - 24.01.2017, 16:56
Re: Player Colors - by Eoussama - 24.01.2017, 16:57
Re: Player Colors - by saffierr - 24.01.2017, 17:03
Respuesta: Player Colors - by HidroDF - 24.01.2017, 17:05
Re: Player Colors - by Eoussama - 24.01.2017, 17:09
Re: Player Colors - by saffierr - 24.01.2017, 17:09
Respuesta: Player Colors - by HidroDF - 24.01.2017, 17:28
Re: Player Colors - by Eoussama - 24.01.2017, 17:36
Respuesta: Player Colors - by HidroDF - 24.01.2017, 17:58

Forum Jump:


Users browsing this thread: 1 Guest(s)