Installation
Dependencies
QBCore Framework ox_lib qb-mechanicjob qb-management
How to install
Drag the script in your resource folder and configure everything in your likeness.
Add as many jobs as you want, only these jobs will have the opportunity to use Upgrades
Upgrades
Config.UpgradeWhitelistJobs = {
"mechanic",
"tuner",
}
Bossmenu
Make sure you have the required resources for your Framework.
Config.SetBossmenu = true -- QBCore (qb-management) or ESX (esx_society)
Config.Bossmenu = { -- You can add as many locations as you want // QBCore (qb-management) or ESX (esx_society)
vector3(-206.89, -1341.71, 34.89),
vector3(727.87, -1066.78, 28.31),
}
Create Tuning Location
With this example guide you can add as many tuning locations as you want. Copy, paste and change everything in your likeness.
-- Copy and paste - Do not forget to change the "pos" coordinates
{
pos = vector3(732.07, -1088.55, 22.17), -- vector3(732.07, -1088.55, 22.17) or xyz example: {x = 732.07, y = -1088.55, z = 22.17}
whitelistJobName = { -- Add as many jobs as you want / Only "UpgradeWhitelistJobs" jobs can see "Upgrades"
[1] = 'mechanic',
[2] = 'tuner',
},
setWhitelist = true, -- If false then everyone can use tuning on this location
label = "Bennys Motorwork", -- Blip name
blipsprite = 72,
blipcolor = 3,
blipscale = 0.6,
blipdisplay = 4,
showBlip = true,
},
Last updated