Your asking for the code to get the players in your server?
You could look in the include files, but you may not like that, because, well, no one ever does. =\
If that's the case, I'd think it's:
Code:
get_players(g_menuPlayers[id],g_menuPlayersNum[id])
From amxmisc.inc
/* Returns number of players put in server.
* If flag is set then also connecting are counted. */
native get_playersnum(flag=0);
/* Sets indexes of players.
* Flags:
* "a" - don't collect dead players.
* "b" - don't collect alive players.
* "c" - skip bots.
* "d" - skip real players.
* "e" - match with team.
* "f" - match with part of name.
* "g" - ignore case sensitivity.
* Example: Get all alive CTs: get_players(players,num,"ae","CT") */
native get_players(players[32], &num ,const flags[]="", const team[]="");
I think that's what you need.
__________________