PHP Code:
get_players ( iPlayers , iPlayerCount , "a" , "CS_TEAM_T" );
Look at your get_players call. It looks like you will need to add "e" flag for team. This function is buggy though, I would pass no flags and do team\alive checking manually.
Code:
If specified, you can constrain which players are returned by flags:
"a" - Don't return dead players
"b" - Don't return alive players
"c" - Skip bots
"d" - Skip real players
"e" - Match with passed team
"f" - Match with part of name
"g" - Ignore case sensitivity
"h" - Skip HLTV
__________________