28.01.2007, 13:18
Quote:
That won't work, you're assuming that all players are consecutive, which is rarely the case, you could have 10 players max, but only players 1, 4, 7 and 9 connected, which would make the max thing 9, saving almost nothing, and you would still need to check for connection. |
since basically all MAX_PLAYERS loops try to loop according to playerids you only need the highest one, hence this is more efficient