Raised This Month: $ Target: $400
 0% 

Problem with variables


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-29-2009 , 17:36   Re: Problem with variables
Reply With Quote #2

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
__________________

Last edited by Bugsy; 08-29-2009 at 17:39.
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:01.


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