Raised This Month: $ Target: $400
 0% 

id of died player in team


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
11922911
Senior Member
Join Date: Dec 2011
Location: Yuen Long Country
Old 01-01-2014 , 21:59   Re: id of died player in team
Reply With Quote #2

Quote:
/* 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.
* "h" - skip HLTV.
* Example: Get all alive CTs: get_players(players,num,"ae","CT") */
Since you aim for dead players, so:
Code:
get_players(iPlayers, iNum, "b");

Use flag "b" instead of "a"


Also, or you can just do:
Code:
get_players(iPlayers, iNum, "be", "TERRORIST");

It means find all player who is died and in Terrorist team. so if you use that, you don't need check again the team inside the loop.
__________________
youtube:
@holla16

Last edited by 11922911; 01-01-2014 at 22:10.
11922911 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 10:13.


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