Installation
The steps to correctly install this on your server.
Step 1 - Install Resource
Download the resource from your keymaster, add it to your resources in any folder of your choice.
Step 2 - Inventory Items
Step 3 - Inventory Images
Step 4 - Dispatch (MYTHIC ONLY)
If you aren't using Mythic Framework, you can skip to step 5.
-- Add the below to the `predefined` table in `mythic-mdt/server/alerts/events.lua`
dealershipnetwork = {
code = "10-17",
title = "Suspicious Network Activity",
type = 1,
isPanic = false,
blip = {
icon = 629,
size = 1.2,
color = 26,
duration = (60 * 5),
},
},
dealershiprobbery = {
code = "10-68",
title = "Dealership Robbery",
type = 1,
isPanic = false,
blip = {
icon = 570,
size = 1.2,
color = 49,
duration = (60 * 5),
},
},
dealershipvehicle = {
code = "10-50",
title = "Stolen Dealership Vehicle",
type = 1,
isPanic = false
},
Step 5 - Config
Head to ff_dealerheist/config/config.lua
and then you will start setting you servers information.
Set
Config.Framework
to your framework (Qbox, QB, ESX or Mythic)Set
Config.Inventory
to your inventory (ox_inventory, qb-inventory, esx_inventory, mythic-inventory)Set
Config.Target
to your target (ox_target, qtarget, qb-target or mythic-targeting)Set
Config.VehicleKeys
to your keys resource.
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.
Step 6 - Minigame Colours
If you wish to change the colour of the minigames, rather than editing CSS you can just edit the ox_lib theme convars and that will automatically be applied to the minigames.
You can find out how to do that here.
Step 7 - 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.
Last updated