Quote:
Originally Posted by pRED* | NZ
The loop doesn't need to?
I use get_players when I retrieve the info from the players. The first loop goes through players from 0 up to num and loads the info into five arrays.
The second loop that you are referring to just loops from 0 to the number of players and prints the info from those 5 arrays. Theres no reason to re-use get_players..
-e- This plugin has been running on all of ubernet servers (60.234.24.6) for about 2 months and been extensively tested and I have never heard of non-existent players stats being attempted to be reported
|
This is unacceptable and you should run get_players again. I don't think you're accounting for something like this:
3 players (ids 1,2,3). Player 2 leaves. Num is now 2 (ids 1,3). It prints the data in id #2, which is a player that doesn't exist, but misses 3.
__________________