How to do it? +Rep
#1

I want only my team players can see my marker and tagname, how to do it? I try but faild...
Reply
#2

How many teams do you have?
Reply
#3

PHP код:
new playerteam GetPlayerTeam(playerid); //Storing player team in a variable.
for(new iGetPlayerPoolSize(); <= ji++) //Looping through every connected player.
{
    if(
playerteam == GetPlayerTeam(i)) continue; //If both of the player's team is same, then  continue.

    
SetPlayerMarkerForPlayer(playeridi0); //If not, then Set marker to 'Not show'.
    
ShowPlayerNameTagForPlayer(playeridi0); //Same with name tag.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)