Raised This Month: $ Target: $400
 0% 

get num of alive cts + ts


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 02-09-2007 , 22:18   get num of alive cts + ts
Reply With Quote #1

i would like to get the number of alive cts
and the number of alive ts

how would you do that with get_players, i know "e" is match team but i dont know what it means or how to do the above

thx
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 02-09-2007 , 22:20   Re: get num of alive cts + ts
Reply With Quote #2

get_players(players, num, "e", "TERRORIST") //"CT"
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 02-09-2007 , 22:28   Re: get num of alive cts + ts
Reply With Quote #3

i add a "a" to return alive ones only right?
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 02-09-2007 , 22:32   Re: get num of alive cts + ts
Reply With Quote #4

right, get_players(players, num, "ae", "TERRORIST") // "CT"
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-10-2007 , 00:57   Re: get num of alive cts + ts
Reply With Quote #5

Note that the "e" flag appears to be glitchy. This caused the problem in GunGame where players couldn't score:
Code:
get_players(players,num,"e","TERRORIST");
Sometimes "num" would contain the actual value, while other times it would contain "0".

BAILOPAN even admits that it is glitchy: http://forums.alliedmods.net/showpos...63&postcount=2
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
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 00:42.


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