# Dependencies

To ensure the Bobcat Heist script functions correctly, you need to install the required MLO. Follow these steps based on whether you are using K4MB1 or Gabz maps:

## **Step 1: Download the MLO**

* **Visit the Download Page:**
  * For K4MB1 maps, go to [this link](https://www.k4mb1maps.com/product/6136428) to purchase and download the MLO.
  * Alternatively, for Gabz maps, visit [Gabz’s site](https://www.gabzv.com/) to purchase a map subscription.
* **Download and Extract the Files:**
  * Download the MLO files from the provided link or from your Gabz subscription.
  * Extract the contents of the ZIP file to a folder on your computer.

## **Step 2: Copy the MLO to Your Server**

* **Copy to Resources:**
  * Copy the extracted MLO folder into your server’s `resources` directory. Ensure the folder’s name is maintained.
* **Update `fxmanifest.lua`:**
  * **For K4MB1 Users:**
    * Open the `fxmanifest.lua` file in the MLO folder.
    * Locate the `shared_scripts` section and change:

      ```lua
      shared_scripts {
          'config.lua'
      }
      ```

      to:

      ```lua
      shared_scripts {
          'config_k4mb1.lua'
      }
      ```
  * **For Gabz Users:**
    * No changes are required in `fxmanifest.lua`.
* **Add to Server Configuration:**
  * Open your `server.cfg` or `resources.cfg` file with a text editor.
  * Add the following line to ensure the MLO resource is loaded when the server starts:

    ```plaintext
    ensure <mlo-folder-name>
    ```
  * Replace `<mlo-folder-name>` with the actual name of the MLO folder.

## **Step 3: Restart the Server**

* Save the changes to your configuration file and restart your server to apply the new MLO.

By following these steps, you'll ensure that the Bobcat Heist script has all the necessary map assets and configurations for a seamless gameplay experience.
