Help with teamblips
#1

Hello guys i asked about team blips before but i have problem again.
It should make enemies invisible and it work.
I cant make Teammates will see eachother on map all is invisible ,also i want Team1 cant see Team2 name tag but my command dont work:
pawn Код:
for(new i = 0;i < MAX_PLAYERS;i++)
    {
        if(gTeam[playerid] == TEAM_RUS && gTeam[i] == TEAM_USA)
        {
            SetPlayerColor(playerid, 0xFF000000);
            SetPlayerColor(i, 0x0000FF00);
            ShowPlayerNameTagForPlayer(playerid,i,0);
        }
        if(gTeam[playerid] == TEAM_USA && gTeam[i] == TEAM_RUS)
        {
            SetPlayerColor(playerid, 0x0000FF00);
            SetPlayerColor(i, 0xFF000000);
            ShowPlayerNameTagForPlayer(playerid,i,0);
        }
        if(gTeam[playerid] == TEAM_USA && gTeam[i] == TEAM_USA)
        {
            //SetPlayerColor(playerid, 0x0000FF00);
            //SetPlayerColor(i, 0x0000FF00);
            SetPlayerMarkerForPlayer(playerid,i,0x0000FFFF);
        }
        if(gTeam[playerid] == TEAM_RUS && gTeam[i] == TEAM_RUS)
        {
            //SetPlayerColor(playerid, 0xFF000000);
            //SetPlayerColor(i, 0xFF000000);
            SetPlayerMarkerForPlayer(playerid,i,0xFF0000FF);
                }
    }
Reply
#2

Bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)