Results 1 to 5 of 5

Thread: Mohaa Server Time Limit per Map

  1. #1

    Default Mohaa Server Time Limit per Map

    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?

  2. #2
    Developer Todesengel's Avatar
    Join Date
    Dec 2013
    Location
    St. Louis, Missouri, USA
    Posts
    276

    Default

    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 is
    Code:
    set timelimit "XX"
    where 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.

  3. #3

    Default

    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

  4. #4

    Default

    Quote Originally Posted by teo View Post
    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?
    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

  5. #5

    Default

    Thank you very much guys !!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •