24.01.2017, 16:53
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.
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