Quote:
Originally Posted by XeonMaster
PHP код:
public OnPlayerSpawn(playerid)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetPlayerTeam(i) != GetPlayerTeam(playerid) && i != playerid)
{
ShowPlayerNameTagForPlayer(playerid, i, false);
SetPlayerMarkerForPlayer(playerid, i, GetPlayerColor(i) & 0xFFFFFF00);
}
}
}
|
How to do it to two teams? and the color set the team by the color?