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

Please post any questions about developing your plugin here. Please use the search function before posting!
burnSTATION
Junior Member
Posts: 27
Joined: Wed Mar 16, 2016 5:56 pm

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

Postby burnSTATION » Tue Sep 06, 2016 12:01 pm

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!
User avatar
L'In20Cible
Project Leader
Posts: 1533
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

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

Postby L'In20Cible » Tue Sep 06, 2016 12:28 pm

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')

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 57 guests