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

# Installation

## Step 1 - Install Resource

Download the resource from your [keymaster](https://keymaster.fivem.net/asset-grants), add it to your resources in any folder of your choice.

## Step 2 - Dispatch (MYTHIC ONLY)

**If you aren't using Mythic Framework, you can skip to step 5.**

```lua
-- Add the below to the `predefined` table in `mythic-mdt/server/alerts/events.lua`
storeNetwork = {
    code = "10-17",
    title = "Attempted Network Access",
    type = 1,
    isPanic = false,
    blip = {
        icon = 629,
        size = 1.0,
        color = 1,
        duration = (60 * 5),
    },
},
storeRobbery = {
    code = "10-68",
    title = "Store Robbery",
    type = 1,
    isPanic = false,
    blip = {
        icon = 52,
        size = 1.0,
        color = 1,
        duration = (60 * 5),
    },
},
```

## Step 3 - Config

Head to `ff_shoprobbery/config/config.lua` and then you will start setting you servers information.

1. Set `Config.Framework` to your framework (Qbox, QB, ESX or Mythic)
2. Set `Config.Target` to your target (ox\_target, qtarget, qb-target or mythic-targeting)

There are a variety of other config options with comments on what each option does, that you will need to finetune to your servers exact needs.

You can find out how to do that [here](https://overextended.dev/ox_lib#config).

## Step 4 - Ensuring Resource

Open your `server.cfg` file and at the bottom of your resources make sure to ensure the reason by typing `ensure ff_dealerheist` and then saving your file.
