[Help] Markers
#1

So guys, I'm having a problem, I'm trying to make it so that when someone calls 911 it will show the players marker, here's my code:

pawn Code:
for(new i = 0; i < MAX_PLAYERS; i++)
            {
                if(IsPlayerConnected(i))
                {
                  if(PlayerInfo[i][pMember] == 4 || PlayerInfo[i][pLeader] == 4)
                  {
                        SetPlayerMarkerForPlayer(i,playerid,0xa5df00ff);
                        SetTimer("MarkersOff", 180000, 0);
                    }
                }
            }
The problem is, it won't show faction 4 the players marker, I have this
pawn Code:
ShowPlayerMarkers(false);
in my script, could that be the problem? Because when I get rid of
pawn Code:
ShowPlayerMarkers(false);
everyone see's everyone on their minimap. Please help. Thank you.
Reply
#2

Anyone?
Reply
#3

Remove ShowPlayerMarkers(false);
Then set the player's colour for everyone to invisible when they spawn.
Reply
#4

Well see the problem with that is, all my families, factions etc have different color names.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)