AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   getting team score ( ct score and t score ) [solved] (https://forums.alliedmods.net/showthread.php?t=86675)

mihaiveress 03-01-2009 04:50

getting team score ( ct score and t score ) [solved]
 
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?

ConnorMcLeod 03-01-2009 05:00

Re: getting team score ( ct score and t score )
 
http://wiki.amxmodx.org/Half-Life_1_...ents#TeamScore

mihaiveress 03-01-2009 06:12

Re: getting team score ( ct score and t score )
 
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 :D


All times are GMT -4. The time now is 16:52.

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