Name Tags.
#1

Okay I made it so people from certain factions can take off their name tags. But its a problem for admins. Is there anyway to make it so Admins can see everyone's name tag even if they turn it off?
My idea didn't work it just showed my nametag when I wanted to turn it off.

Код:
for(new i = 0; i < MAX_PLAYERS; i++)
  			{
  		  	if(IsPlayerConnected(i))
  		  	{
		  			ShowPlayerNameTagForPlayer(i, playerid, 0);
				}
			}
			if(PlayerInfo[playerid][pAdmin] >= 1)
			{
			for(new i = 0; i < MAX_PLAYERS; i++)
  			{
  		  	if(IsPlayerConnected(i))
  		  	{
		  			ShowPlayerNameTagForPlayer(i, playerid, 1);
				}
			}
			}

Reply
#2

pawn Код:
public OnGameModeInit( )
{
  ShowNameTags( 1 );
}
pawn Код:
for( new i = 0; i < MAX_PLAYERS; i++ )
{
    if( IsPlayerConnected( i ) )
    {
        if( PlayerInfo[ i ][ pAdmin ] >= 1 )
        ShowPlayerNameTagForPlayer( i, playerid, 1 );
        else ShowPlayerNameTagForPlayer( i, playerid, 0 )
    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)