Raised This Month: $ Target: $400
 0% 

Players on a team


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 12-24-2005 , 00:53   Players on a team
Reply With Quote #1

Hello,

Was wondering How would I see how many players are ALIVE on CT and T, the link it to a hud message?

Everytime someone dies, the hud message subtracts from the totoal of living players, etc.

I realize that doesn't make much sense. What I wanted to to do, was make a HUD message pop up with how many players are alive on each team. But I got stuck on the part where you tell how many players there are on each team.

Anyone know how?

Thanks for any help.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 12-24-2005 , 02:52  
Reply With Quote #2

Code:
new players[32], num;  get_players(players, num, "ae", "TERRORIST");

num contains the number of alive terrorists. The team name for Counter-Terrorists is "CT".
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 12-24-2005 , 11:41  
Reply With Quote #3

Alright thanks.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Reply



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:51.


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