Dota 2 Workshop Tools/Scripting/API/CDOTAGamerules.SetCustomGameEndDelay
From Valve Developer Community
< Dota 2 Workshop Tools | Scripting | API

Function Description
void SetCustomGameEndDelay(float delay)
Sets the delay time until the game ends
- Example
-- Show the ending scoreboard immediately GameRules:SetCustomGameEndDelay( 0 )
Parameters
Type | Name | Description |
---|---|---|
float | delay | delay time in seconds |