28.09.2014, 12:53
pawn Код:
for(new i = 0, j = GetMaxPlayers(); i < j; i++) {
if(IsPlayerConnected(i))
if(GetPlayerTeam(i) == team_1)
for(new x = 0; x < j; x++)
if(IsPlayerConnected(x))
if(GetPlayerTeam(x) == team_2)
HidePlayerForPlayer(x, i);
}