count game rounds
how can I read how many wins each team has?
for example i need to know when the 16th round starts but it is a clan war server and restarts might happen so I can't just count round ends to find the rounds. can i read the teams wins? the ones that display when you press tab :D plz help! thanks in advance |
plz help me?? :oops:
|
press Tab it should say how many round you wonn and for the other team also.
|
He means how do you read it through into a plugin.
You would have to write and read the relavant data from something, like a file or sql base. |
I'm assuming you could catch the TeamScore event and add up how many rounds the Ts have won compared to how many the CTs have won, and store it in a variable.
|
Code:
|
a) you define "rounds" but use "num"
b) ResetHUD does not mean "spawn", it is called on multiple occassions, and it happens for everyone, so the variable would be off. |
ur best choice is register a team win event like when they play sound T wins or CT wins and count ur rounds from there.
|
or use logevent which is slightly better.
|
what about this sort of thing...
Code:
|
| All times are GMT -4. The time now is 19:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.