13-01-2007, 08:37 PM
I was just thinking about it... and everytime something of necessity happens... that affects, everyone that's playing... we use a
for i = 1 to max_players (or highindex, if you used the tutorial for it)
and then the next step... is to do, if IsPlaying(i)
WHY!?!........ shouldn't we just simplify the entire process and save loops by doing for i = 1 to totalonlineplayers? TotalOnlinePlayers stores the current number ACTUALLY PLAYING. So instead of looping 50 + times, when chances are it only needs to do it 13 times or so... why don't we just use TotalOnlinePlayers?
for i = 1 to max_players (or highindex, if you used the tutorial for it)
and then the next step... is to do, if IsPlaying(i)
WHY!?!........ shouldn't we just simplify the entire process and save loops by doing for i = 1 to totalonlineplayers? TotalOnlinePlayers stores the current number ACTUALLY PLAYING. So instead of looping 50 + times, when chances are it only needs to do it 13 times or so... why don't we just use TotalOnlinePlayers?