Quote:
Originally Posted by MasterKy
i do make a code with this function definited:
get_players ( gi_players, gi_playercnt, "h", CS_TEAM_CT )
and the compiler returned this:
argument type mismatch (argument 4)
plz help me 
|
This function is no longer supported and is a bit buggy depending on which flags you use.
See this
link.
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
PHP Code:
new iPlayers[ 32 ];
new iPlayerCount;
get_players ( iPlayers , iPlayerCount , "e" , "TERRORIST" );
get_players ( iPlayers , iPlayerCount , "e" , "CT" );
__________________