Raised This Month: $ Target: $400
 0% 

getting team score ( ct score and t score ) [solved]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mihaiveress
Member
Join Date: Jan 2009
Location: Tirgu-Mures , Romania
Old 03-01-2009 , 04:50   getting team score ( ct score and t score ) [solved]
Reply With Quote #1

hello
is there a command that you get the team score?
i tried to hold the score in 2 variables depending on log messages but there is a little problem
if on the server remains just a person and the score is like 15-5 after another one joins and the server gives a restart ( that game commencing sequence ) the variables go on incrementing
so is there a way to detect that game commencing sequence or is there a direct function to detect the score?

Last edited by mihaiveress; 03-01-2009 at 06:23. Reason: solved
mihaiveress is offline
Send a message via Yahoo to mihaiveress Send a message via Skype™ to mihaiveress
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-01-2009 , 05:00   Re: getting team score ( ct score and t score )
Reply With Quote #2

http://wiki.amxmodx.org/Half-Life_1_...ents#TeamScore
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
mihaiveress
Member
Join Date: Jan 2009
Location: Tirgu-Mures , Romania
Old 03-01-2009 , 06:12   Re: getting team score ( ct score and t score )
Reply With Quote #3

okay so i should do something like this in plugin_init()
Code:
register_event("TeamScore","count_score",a)
and the count_score should be...?
i mean which string should i grab from the event?


LE: found it...silly me forgot to use search
https://forums.alliedmods.net/showth...ight=TeamScore

thanks man

Last edited by mihaiveress; 03-01-2009 at 06:20. Reason: research done
mihaiveress is offline
Send a message via Yahoo to mihaiveress Send a message via Skype™ to mihaiveress
Reply


Thread Tools
Display Modes

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 16:52.


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