Quote:
Originally Posted by Kinetic
pawn Код:
for(new i=0; i<=GetMaxPlayers(); i++)
That is MUCH better.
|
Calling a function each itteration which returns a constant result is not better than using a define. MAX_PLAYERS is there for a reason so use it or atleast store the result of GetMaxPlayers() before hand then use the result in the loop as doing it your way is adding a ton of function calls which is slower not "MUCH better".