09.01.2016, 21:32
Hello all,
I know that existing more ways to optimize server for playerids
but which is best?
1)Foreach
2):
3)
4)
Please help me
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++)
Код:
for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++)
Код:
for(new i = 0; i < GetMaxPlayers(); i++)