All pastes #813318 Raw Edit

Anonymous

public cpp v1 · immutable
·published 2007-12-12 13:16 UTC
rendered paste body
public OnPlayerSpawn(playerid){	for(new i=0; i < MAX_PLAYERS; i++)	{		if (IsPlayerConnected(i))		{			for(new j=i+1; j < MAX_PLAYERS; j++)			{				if (IsPlayerConnected(j))				{					if (gTeam[i] == gTeam[j])					{						ShowPlayerNameTagForPlayer(i,j,1);						ShowPlayerNameTagForPlayer(j,i,1);					}					else					{						ShowPlayerNameTagForPlayer(i,j,0);						ShowPlayerNameTagForPlayer(j,i,0);					}				}			}		}	}	return 1;}