Raised This Month: $12 Target: $400
 3% 

Solved Round Started Event


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ghostdlr
Senior Member
Join Date: Aug 2010
Old 11-25-2022 , 20:04   Round Started Event
Reply With Quote #1

What event can I use to detect when a new round starts?


I'm currently using eventTeamScore() but it triggers when a team wins (bomb exploded, bomb defused, all people died), not when the next round starts.

I found forward round_start() but it doesn't work...

Last edited by ghostdlr; 11-26-2022 at 15:39.
ghostdlr is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 11-26-2022 , 10:23   Re: Round Started Event
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=42159
jimaway is offline
ghostdlr
Senior Member
Join Date: Aug 2010
Old 11-26-2022 , 15:33   Re: Round Started Event
Reply With Quote #3

Thanks. It works perfectly:

register_event("HLTV", "event_new_round", "a", "1=0", "2=0")
ghostdlr is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode