Results 1 to 1 of 1
  1. #1
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    276

    Insane Limits - Load first Map by empty bf4 server (working code)

    Insane Limits - Load first Map by empty bf4 server (working code)
    BF4 Server - Procon - Insane Limits Plugin


    This exemple-code load automatic the first map (Operation Locker) when the last player leave the server. It works on BF4 Server, Insane Limits Plugin (Procon).

    SETUP FOR INSANE LIMITS:
    limit_evaluation: OnLeave
    limit_first_check: Code
    limit_first_check_code: (paste the CODE here)

    CODE
    Code:
    // IMPORTANT: the map MP_Prison (Operation Locker) must be the first map in the list
    
    if(server.PlayerCount == 1 && server.MapFileName != "MP_Prison")
    {
        plugin.ServerCommand("mapList.setNextMapIndex", "0");
        plugin.ServerCommand("mapList.runNextRound");
    }

 

 

Tags for this Thread

Posting Permissions

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