How can i do something like this?
#1

Sorry
Reply
#2

Umm first of all you need to check if player is in team1... So basically thats wht you need to do trough all players you check player team. I hope it made sense to you..
Reply
#3

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);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)