I need a plugin that removes the timer in hckc. I've tried for a week and can't get it. Any help would be great.
i did that and it didnt work.
setdvar("scr_hckc_timelimit", "0");
or
setdvar("scr_hckc_time_limit", "0");
I don't remember.
Where do I put the command. I've tried to add it to the server.cfg and the command line but nothing.
The command that works in game with rcon is scr_conf_playerrespawntime -1
But its irritating after each map change it goes back to normal.
so put the cmd in onmapchange
public override void OnMapChange()
{
setdvar("scr_hckc_time_limit", "0");
}
CSHARP Code
using System;
using System.Collections.Generic;
using Addon;
using System.Text;
namespace ClassLibrary1
{
public class Class1:CPlugin
{
public override void OnMapChange()
{
SetDvar("scr_conf_timelimit", "-1");
}
public override void OnFastRestart()
{
SetDvar("scr_conf_timelimit", "-1");
}
}
}
If the dvar is correct, this should work