Raised This Month: $ Target: $400
 0% 

Socerboard players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cypis
SourceMod Donor
Join Date: Apr 2011
Location: Poland
Old 01-18-2013 , 10:19   Socerboard players
Reply With Quote #1

Hi,
How to get this number players:


Or how to hook when it update ?
cypis is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 01-18-2013 , 10:23   Re: Socerboard players
Reply With Quote #2

If you want to know how many players are in any team - just loop through them and check whether this guy is in desired team and increase the counter.

As for your second question - maybe it reads from TeamInfo message from each player, try blocking it But I am unsure that this can be hooked actually.
__________________


Last edited by NiHiLaNTh; 01-18-2013 at 10:23.
NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
wickedd
Veteran Member
Join Date: Nov 2009
Old 01-18-2013 , 11:08   Re: Socerboard players
Reply With Quote #3

get_players( )
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 01-18-2013 , 12:12   Re: Socerboard players
Reply With Quote #4

Quote:
Originally Posted by NiHiLaNTh View Post
But I am unsure that this can be hooked actually.
register_message?
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 01-18-2013 , 14:39   Re: Socerboard players
Reply With Quote #5

This is what I found when I searched.

Code:
TeamScore

Updates the team score on the score board.
Note: In CS TeamName is either "TERRORIST" or "CT".

Name:	 TeamScore
Structure:	
string	      TeamName
short	       Score
http://wiki.amxmodx.org/Half-Life_1_...ents#TeamScore
__________________
Retired.

Last edited by Xalus; 01-18-2013 at 14:40.
Xalus 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 13:27.


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