21.08.2012, 15:15
Hi,
I want to know how I can find out which player has the fewest deaths.
The deaths are saved via SetPVarInt.
Example:
Let's say Player 1 has died 10 times. Player 2 compared to only 8 times.
A timer find out which player has the fewest deaths from all players.
In this case that would be the second player. A message should be send to all
players like: Player 2 won the game.
I think i need a loop through all the players but I do not know how to do it.
I hope you know what i mean
-Tim
I want to know how I can find out which player has the fewest deaths.
The deaths are saved via SetPVarInt.
Example:
Let's say Player 1 has died 10 times. Player 2 compared to only 8 times.
A timer find out which player has the fewest deaths from all players.
In this case that would be the second player. A message should be send to all
players like: Player 2 won the game.
I think i need a loop through all the players but I do not know how to do it.
I hope you know what i mean
-Tim