02.12.2010, 10:12
Quote:
To get max players from server.cfg i beleive its this, (slower than MAX_PLAYERS though)
pawn Код:
|
pawn Код:
//Global variable
new TOTAL_PLAYERS;
//OnGameModeInit:
TOTAL_PLAYERS = GetMaxPlayers();
//Loop:
for(new i; i < TOTAL_PLAYERS; i++)
However, I would recommend simply using foreach include.