10-02-2012, 02:08 PM
Thanks for the reply. I wasn't aware any looping system was already in place. I stumbled across some code in the NewsController class which just used the old basic MAX_PLAYERS style iteration. I've updated the code.
Whilst I'm sure it would be great to implement a system that indeed iterates only through connected players, is it really necessary? SA-MP only assigns a new higher ID to a player when there are no lower IDs free. For what it's worth, it would probably only avoid a few iterations and would not really make much difference.
Whilst I'm sure it would be great to implement a system that indeed iterates only through connected players, is it really necessary? SA-MP only assigns a new higher ID to a player when there are no lower IDs free. For what it's worth, it would probably only avoid a few iterations and would not really make much difference.