ItsMods

Full Version: remove timer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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.
What's HCKC?
Hardcore kill confirmed
set time to 0
i did that and it didnt work.
Anyone?
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
  1. using System;
  2. using System.Collections.Generic;
  3. using Addon;
  4. using System.Text;
  5.  
  6. namespace ClassLibrary1
  7. {
  8. public class Class1:CPlugin
  9. {
  10. public override void OnMapChange()
  11. {
  12. SetDvar("scr_conf_timelimit", "-1");
  13. }
  14. public override void OnFastRestart()
  15. {
  16. SetDvar("scr_conf_timelimit", "-1");
  17. }
  18. }
  19. }


If the dvar is correct, this should work
Pages: 1 2