> For the complete documentation index, see [llms.txt](https://mi-store.gitbook.io/mistore-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mi-store.gitbook.io/mistore-docs/resources/mi-paleto-heist/installation.md).

# Installation

## Download and Prepare Files

###

#### Download the Resource

Download **MI Paleto Heist** from your granted assets or from the place where you received the resource.

After downloading, extract the resource files and make sure the folder name is correct.

Recommended folder name:

```cfg
mi-paletoheist
```

Place the resource inside your server `resources` folder.

Example:

```cfg
resources/[mi]/mi-paletoheist
```

### Install Required Dependencies

MI Paleto Heist requires the main dependencies to be installed and started before the heist resource.

Required:

```cfg
ox_lib
```

Depending on your configuration, you may also need:

```cfg
ox_target
ox_inventory
oxmysql
```

Make sure all required dependencies are installed correctly before starting the heist resource.

### Add the Resource to server.cfg

Open your `server.cfg` file and add the required ensure lines.

Basic example:

```cfg
ensure ox_lib
ensure mi-paletoheist
```

If your server uses ox\_inventory, ox\_target, and oxmysql, use this order:

```cfg
ensure ox_lib
ensure oxmysql
ensure ox_inventory
ensure ox_target
ensure mi-paletoheist
```

### Important Start Order

The heist resource must always start **after** its dependencies.

Correct order:

```cfg
ensure ox_lib
ensure oxmysql
ensure ox_inventory
ensure ox_target
ensure mi-paletoheist
```

Do not start `mi-paletoheist` before `ox_lib` or the required systems selected in the configuration.

### Configure the Resource

After adding the resource to your server, open the configuration files and adjust the script to match your server setup.

Check the following options:

```lua
Config.Framework
Config.Inventory
Config.Target
Config.Dispatch
Config.Debug
```

Set each option based on the systems used by your server.

### Restart the Server

After installing and configuring the resource, restart your server.

You can also start the resource manually from the server console:

```cfg
ensure mi-paletoheist
```

### Final Check

Once the resource is started, check your server console for errors.

If everything is installed correctly, MI Paleto Heist will load normally and will be ready to use.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mi-store.gitbook.io/mistore-docs/resources/mi-paleto-heist/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
