[Include] MAX_PLAYERS Loops
#5

The classic example of having variables, loops etc.. faster just #undef MAX_PLAYERS and #define MAX_PLAYERS (SERVER_SLOT)...on this case you re-define MAX_PLAYERS and should work faster. Another example for loops can be
pawn Код:
for(new i=0; i< GetMaxPlayers(); i++)
a faster loop.

As above users said y_iterate is much faster.
Reply


Messages In This Thread
[No subject] - by Kaliber - 06.03.2013, 05:52
Re: MAX_PLAYERS Loops - by greentarch - 06.03.2013, 06:14
AW: Re: MAX_PLAYERS Loops - by Kaliber - 06.03.2013, 06:17
Re: MAX_PLAYERS Loops - by MP2 - 06.03.2013, 07:11
Re: MAX_PLAYERS Loops - by TheArcher - 06.03.2013, 17:14
Re: MAX_PLAYERS Loops - by Maxips2 - 06.03.2013, 17:44
AW: Re: MAX_PLAYERS Loops - by Kaliber - 06.03.2013, 19:54
Re: MAX_PLAYERS Loops - by Pottus - 07.03.2013, 03:02
Re: AW: Re: MAX_PLAYERS Loops - by JaKe Elite - 07.03.2013, 10:22

Forum Jump:


Users browsing this thread: 1 Guest(s)