⚙️Configuration
Detailed explanation of the config file to adapt the resource to your player needs.
The config.lua
Config = {}
Config.Framework = "qb"
Config.UseInteract = false
Config.Target = 'qb'
Config.Inventory = 'ox'
-----------------FOR QBCORE ONLY ----------
Config.FrameworkPseudo = "qb-core"
Config.Images = {
logo = 'https://i.ibb.co/B4njwTQ/icon.png',
default = 'https://i.ibb.co/LYS6qt2/male.png',
vehicle = 'https://i.ibb.co/GWbgHKZ/vehicle.jpg',
camera = 'https://i.ibb.co/ZNq9B03/istockphoto-1448589559-612x612.jpg',
}
Config.Camera = {
prop = 'prop_cctv_cam_01a',
item = 'pdcam',
hack = 'rfid_cloner',
remove = true -- remove hack item on hack (success or fail), you can change this on client/minigames.lua
}
Config.Jobs = {
'police',
'sheriff',
}
Config.Legisations = {
'judge', -- allowed to change the legisations
}
Config.Locations = {
vector3(322.92, -1642.05, 32.76),
vector3(320.88, -1640.33, 32.76),
vector3(318.78, -1638.56, 32.77),
}
Config.Tags = {
{
id = 1, -- KEEEEEP IT FIRST ! important, as it is related to dashboard (id = 1)
name = 'Announcement',
color = '#22c5ad',
background = 'radial-gradient(#076650, #193d3c4f);',
icon = 'fa-solid fa-bullhorn'
},
{
id = 2,
name = 'Mosleys Auto',
color = '#22c5ad',
background = 'radial-gradient(#076650, #193d3c4f);',
icon = 'fa-solid fa-car'
},
{
id = 3,
name = 'Snr Buns',
color = '#22c5ad',
background = 'radial-gradient(#076650, #193d3c4f);',
icon = 'fa-solid fa-burger'
},
{
id = 4,
name = 'High Command Review',
color = '#22c5ad',
background = 'radial-gradient(#076650, #193d3c4f);',
icon = 'fa-solid fa-gavel'
},
{
id = 5,
name = 'Sewer',
color = '#22c5ad',
background = 'radial-gradient(#076650, #193d3c4f);',
icon = 'fa-solid fa-poop'
},
{
id = 6,
name = 'Shift Meeting',
color = '#22c5ad',
background = 'radial-gradient(#076650, #193d3c4f);',
icon = 'fa-solid fa-user'
},
}
Config.Licenses = {
{
id = 1,
name = 'Fishing Licence',
color = '#22c5ad',
background = 'radial-gradient(#076650, #193d3c4f);',
icon = 'fa-solid fa-otter'
},
{
id = 2,
name = 'Hunting Licence',
color = '#22c5ad',
background = 'radial-gradient(#076650, #193d3c4f);',
icon = 'fa-solid fa-hippo'
},
{
id = 3,
name = 'Driving Licence',
color = '#22c5ad',
background = 'radial-gradient(#076650, #193d3c4f);',
icon = 'fa-solid fa-car'
},
{
id = 4,
name = 'Weapon Licence',
color = '#22c5ad',
background = 'radial-gradient(#076650, #193d3c4f);',
icon = 'fa-solid fa-gun'
},
}
Last updated