Printing score every round end.
I have a function, that is called every round end just by the event register, but for some reason, when the round ends the function is called twice, and what it does, it shows, for some reason, in this very odd way:
Here is the the function: PHP Code:
PHP Code:
|
Re: Printing score every round end.
I thought about it and the only way it could happen is if this function is being called twice. Is it being called at round end + round start? therefore it displays it twice right after the second? and the more wierd thing is, why is it displaying pervious score then current score when T wins, and when CT wins its the current score twice. I tried as an alternative to remove the register_event and instead just call the function every round_end, but then score isn't being printed at all.
|
| All times are GMT -4. The time now is 03:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.