Raised This Month: $32 Target: $400
 8% 

[CS:GO] Force Round Win where TerminateRound fails


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eyal282
Veteran Member
Join Date: Aug 2011
Old 08-07-2020 , 15:45   [CS:GO] Force Round Win where TerminateRound fails
Reply With Quote #1

CS_TerminateRound does not seem to fire any round win related events if I use BombDefused as the reason, and does not make the MVP sound, fun fact for the round, etc...

How can that be done?
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
zipcore
Veteran Member
Join Date: Mar 2010
Location: m_flZipcore
Old 08-09-2020 , 08:46   Re: [CS:GO] Force Round Win where TerminateRound fails
Reply With Quote #2

https://developer.valvesoftware.com/wiki/Game_end
__________________
zipcore is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 08-14-2020 , 19:45   Re: [CS:GO] Force Round Win where TerminateRound fails
Reply With Quote #3

Quote:
Originally Posted by zipcore View Post
It sounds like it ends a match, not a round. Proof is you can't even decide the team to win.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 08-15-2020 , 07:03   Re: [CS:GO] Force Round Win where TerminateRound fails
Reply With Quote #4

Maybe terminate the round with CSRoundEnd_TerroristWin, hook round_end with pre hook and change the "reason" param?
__________________
Ilusion9 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:42.


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