Page 1 of 1

Listener / event fired when halftime starts (CS:GO)

Posted: Tue Sep 06, 2016 12:01 pm
by burnSTATION
I've searched in the wiki for any event that is fired when the halftime between side switch is started and it doesnt seem there is one. The closest thing to it is "round_announce_last_round_half" which is fired at the start of the 15th round, rather than the end of the 15th round. Can anyone help me find an event that is fired at the end of the 15th round?

Thanks!

Re: Listener / event fired when halftime starts (CS:GO)

Posted: Tue Sep 06, 2016 12:28 pm
by L'In20Cible

Syntax: Select all

from events import Event

_round_status = False

@Event('round_announce_last_round_half')
def round_announce_last_round_half(game_event):
global _round_status
_round_status = True

@Event('round_end')
def round_end(game_event):
if not _round_status:
return

global _round_status
_round_status = False

print('your code here')