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!
Listener / event fired when halftime starts (CS:GO)
-
- Junior Member
- Posts: 27
- Joined: Wed Mar 16, 2016 5:56 pm
- L'In20Cible
- Project Leader
- Posts: 1536
- Joined: Sat Jul 14, 2012 9:29 pm
- Location: Québec
Re: Listener / event fired when halftime starts (CS:GO)
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 134 guests