Installation/Configuration

Steps how to setup our Container Robbery script, if the script has any issues and you did the installation correctly please create a modmail on our discord.

Installing Dependencies

Make sure you install the latest versions and follow the documentation of the scripts, the evidence boxes script needs to start after all the dependencies start!

Configurating The Script

Here is the default config file, in case you want to reset it.

config.lua
Config = {}

Config.Debug = false

Config.Dispatch = 'cd' -- Dipatch - 'cd' / 'ps'
Config.PoliceJobs = {'police', 'lssd', 'sheriff', 'sahp'} -- Jobs that see the dispatch, if using cd dispatch, if ps then in ps dispatch config
Config.DispatchCode = '10-17' -- Code on the dispatch
Config.DispatchMessage = 'Suspicius person exiting container'

Config.RequiredItem = 'lockpick'

Config.ContainerCoords = {
    { coords = vector3(910.5751, -3039.4622, 5.9020) },
    { coords = vector3(1005.7899, -3095.9290, 5.9010) },
    { coords = vector3(1149.8953, -2987.3542, 5.9010) },
    { coords = vector3(845.1858, -3085.2563, 5.9008) },
    { coords = vector3(1048.6450, -2992.2795, 5.9010) },
    -- Add more if you want
    -- { coords = vector3(123, 456, 789) },
}

Config.Reward = { -- Rewards to pick randomlny from
    'weapon_pistol',
    'at_suppressor_light',
    'paperbag'
}

Config.Cooldown = 120 -- In seconds

Config.TargetLabelBreak = 'Break Into Container' -- Label on target to break into
Config.TargetIconBreak = 'fa-solid fa-hammer' -- Icon on target to break into - https://fontawesome.com/icons

Config.TargetLabelExit = 'Exit' -- Label on target to exit
Config.TargetIconExit = 'fa-solid fa-door-open' -- Icon on target to exit - https://fontawesome.com/icons

Config.TargetLabelBox = 'Loot Box' -- Label on target to take loot from box
Config.TargetIconBox = 'fa-solid fa-box' -- Icon on target to take loot from box

Config.TargetDistance = 2

Config.NotifyTitle = 'Required Items'
Config.NotifyDescription = 'You don\'t have the required item to break into the container'

Config.FailTitle = 'Failed'
Config.FailDescription = 'You failed to lockpick the container'

Config.ProgressBarLabel = 'Opening Box'

Last updated