SetPlayerColour
#1

Hi,

I want set player colour, but oher players, can't see that color in minimap.
Reply
#2

public OnGameModeInit()
{
ShowPlayerMarkers(0);
return 1;
}
Reply
#3

pawn Код:
SetPlayerColor(playerid,0xFFFFFF00);
Reply
#4

If you don't want them to see any player marker in minimap, the above are right. If you want them to see different colour, you may try this:
pawn Код:
for(new i = 0;i < MAX_PLAYERS;i++)//Can be replaced with foreach(Player,i) if you have it
    if(i != playerid)
        SetPlayerMarkerForPlayer(playerid,i,0x00000000);//Replace 0x00000000 with your needed colour
Reply
#5

No need for a loop.. Just set the alpha to 0!
Reply
#6

Quote:
Originally Posted by MP2
Посмотреть сообщение
No need for a loop.. Just set the alpha to 0!
I'm not suire what he means, hiding the player marker or change their colour so that they are different to the players' name colour.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)