27.04.2010, 16:48
pawn Код:
public OnPlayerSpawn(playerid)
{
for (new i = 0, max = GetMaxPlayers(); i < max; i++)
{
if (i != playerid)
{
if (playerid's team is not the same as i's team)
{
// Make the players marker invisible to the player while keeping chat colour the same. Will only work correctly if SetPlayerColor has been used
SetPlayerMarkerForPlayer( i, playerid, ( GetPlayerColor( playerid ) & 0xFFFFFF00 ) );
ShowPlayerNameTagForPlayer(i, playerid, false);
}
}
}
return 1;
}