Raised This Month: $ Target: $400
 0% 

Help me with get_players ()


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-24-2009 , 19:20   Re: Help me with get_players ()
Reply With Quote #2

Quote:
Originally Posted by MasterKy View Post
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 iPlayers32 ];
new 
iPlayerCount;

get_players iPlayers iPlayerCount "e" "TERRORIST" );

get_players iPlayers iPlayerCount "e" "CT" ); 
__________________

Last edited by Bugsy; 08-24-2009 at 19:22.
Bugsy is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode