View Single Post
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-22-2017 , 02:53   Re: [CS:GO] Respawn when late join
Reply With Quote #7

I haven't tested.

cvar mp_join_grace_time have max. value 30 seconds
Code:
"mp_join_grace_time" = "0.0" min. 0.000000 max. 30.000000 game replicated        - Number of seconds after round start to allow a player to join a game

But you can remove this cvar upper pound with plugin.
PHP Code:
public void OnPluginStart()
{
    
ConVar mp_join_grace_time FindConVar("mp_join_grace_time");

    if(
mp_join_grace_time != null)
    {
        
mp_join_grace_time.SetBounds(ConVarBound_Upperfalse);        
    }

After loading plugin, it should show like this
Code:
mp_join_grace_time
"mp_join_grace_time" = "0.0" min. 0.000000 game replicated                       - Number of seconds after round start to allow a player to join a game
Then you set in gamemode_casual_server.cfg your new time, ex. mp_join_grace_time 1500
__________________
Do not Private Message @me
Bacardi is offline