AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [CSGO] Force round end with score and money change (https://forums.alliedmods.net/showthread.php?t=311418)

Nerus 10-17-2018 06:08

[CSGO] Force round end with score and money change
 
Hi,

How to force round end with score and money change?

Standard scenario:
  • Last stand player exit the game
  • Opposite site need to wait to finish the round

Terminate round scenario (CS_TerminateRound(3.0, CSRoundEnd_CTWin || CSRoundEnd_TerroristWin, false)
  • Last stand player exit the game
  • Round terminated but money is no added and team score not incremented

I found some netprop "roundstate" but how to change state of it, by "RoundState Enumeration"? And it will affect score and money too?


All times are GMT -4. The time now is 04:10.

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