Config
cfg = {}
cfg.debug = false
-- ============ Configurations ============
cfg.clamp_prop = "prop_clamp" -- prop clamp model
cfg.core = 'qb-core' -- QBCore Script Name
cfg.target = 'qb-target' -- qb-target or ox_target
cfg.bossmenu = 'qb-banking' -- qb-management or qb-banking
cfg.menu = 'QB' -- Menu type, QB for qb-menu & qb-input, ox for ox_lib menu & input
cfg.PoliceJobs = { 'police', 'sheriff' } -- List of police jobs that can use the impound system
cfg.notify = 'qb' -- Notification type, options: qb, ox, mythic, okok
cfg.blacklistedvehicles = { -- List of vehicles that cannot be impounded
Plates = { -- Plates that cannot be impounded
'ZOLDYCK',
},
models = { -- Vehicle models that cannot be impounded
'primo',
},
categories = { -- Vehicle categories that cannot be impounded (https://docs.fivem.net/natives/?_0x29439776AAA00A62 )
18, -- emergency vehicles
19, -- military vehicles
16, -- Planes
15, -- Helicopters
8, -- motorcycles
}
}
cfg.admins = {
"license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
}
cfg.commands = { -- Commands for the impound system
openimpmenu = 'impmenu', -- Open the impound menu
impoundcheck = 'checkimp', -- Check if a vehicle is impounded
manageimpounds = {
commandname = 'manageimp', -- Manage impounds command
mingrade = 2 -- Minimum grade required to manage impounds
},
refreshimpounds = {
commandname = "refreshimpounds",
admins = cfg.admins
}
}
cfg.DefaultPreset = "custom" -- "custom" means no preset selected
cfg.PresetViolations = {
{
label = "Reckless Driving",
hours = 1, -- number of hours
amount = 8000 -- bill amount
},
{
label = "Stolen Vehicle",
hours = 3,
amount = 15000
},
-- You Can Add More Rules
--[[ {
label = "You Rule",
hours = 8, -- number of hours
amount = 6500 -- bill amount
}, ]]
}
cfg.ImpoundLocations = { -- List of impound locations
{
label = "LS Impound",
coords = vector4(406.56, -1644.6, 28.87, 56.36),
ped = `s_m_y_cop_01`,
blip = {
enable = true,
sprite = 68,
color = 38,
scale = 0.7,
name = "Impound (LS)"
},
spawnlocations = {
[1] = vector4(410.66, -1636.6, 28.87, 231.83),
[2] = vector4(409.06, -1638.75, 28.87, 225.04),
[3] = vector4(398.67, -1646.67, 28.87, 140.43),
[4] = vector4(401.12, -1648.03, 28.87, 139.62)
}
}
}Last updated