Hello Guys . I need your help with time limit per map. I thought adding the command "set timelimit" for each .scr map. What is the command I need to add?
Hello Guys . I need your help with time limit per map. I thought adding the command "set timelimit" for each .scr map. What is the command I need to add?
You want to put that in your server.cfg file, which is located in the 'main' directory under the mohaa directory. In the server.cfg find the line that iswhere XX is the time in minutes per map that is currently set. Change that number to what you want, save the server.cfg file, and restart the server.Code:set timelimit "XX"
here is a sample of the reborn config... search for seta timelimit "0"
thats how it should look like... only change the 0 in the time u want ofc
To set the timelimit from the map script (.scr) you need to use the "setcvar" command. - "set" is only for config files (.cfg)
e.g.
// set timelimit to 8 min.
setcvar "timelimit" "8"
This would be the simplest way to set the timelimit per map.
There are better ways to do this though
Thank you very much guys !!!!