Best way to optimize (i < MAX_PLAYERS )
#1

Hello all,
I know that existing more ways to optimize server for playerids
but which is best?
1)Foreach
2):
Код:
#define MAX_PLAYERS 100
for(new i = 0; i < MAX_PLAYERS; i++)
3)
Код:
for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++)
4)
Код:
for(new i = 0; i < GetMaxPlayers(); i++)
Please help me
Reply


Messages In This Thread
Best way to optimize (i < MAX_PLAYERS ) - by iulicxd - 09.01.2016, 21:32
Re: Best way to optimize (i < MAX_PLAYERS ) - by lucamsx - 09.01.2016, 21:35
Re: Best way to optimize (i < MAX_PLAYERS ) - by Akbaig - 09.01.2016, 21:44
Re: Best way to optimize (i < MAX_PLAYERS ) - by ikey07 - 09.01.2016, 21:52
Re: Best way to optimize (i < MAX_PLAYERS ) - by Vince - 09.01.2016, 21:52
Re: Best way to optimize (i < MAX_PLAYERS ) - by AbyssMorgan - 10.01.2016, 05:16
Re: Best way to optimize (i < MAX_PLAYERS ) - by Mencent - 10.01.2016, 09:56

Forum Jump:


Users browsing this thread: 1 Guest(s)