View Single Post
clarkeylogic
Member
Join Date: Jun 2015
Old 09-01-2015 , 00:45   Re: [CSS/CSGO] Timer 2.5.0.0 (unsupported)
Reply With Quote #1190

Quote:
Originally Posted by ESK0 View Post
Does anyone else has problem with mp_maxrounds ? i set it to 0 in server.cfg but its still 1.. some help ? thanks
Do this.
PHP Code:
#include <sourcemod>

public OnMapStart()
{
    
CreateTimer(1.0Timer_DoChanges);
}

public 
Action Timer_DoChanges(Handle timerany data)
{
    
ServerCommand("mp_maxrounds 0");
    
ServerCommand("mp_restartgame 1");

clarkeylogic is offline