Installation

Dependencies

QBCore Framework qb-mechanicjob qb-management


How to install

Drag the script in your resource folder and configure everything in your likeness.


Config & Functions


Payment Methode

Config.Payment = "cash"             -- Payment "cash" or "bank"   ## CASH ALWAYS RECOMMEND ##

Payment for Jobs

Config.PaymentForJobs = false       -- If false Whitelisted jobs dont pay for any tuning

Society Payment

Config.SocietyPayment = false

Bossmenu

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),
}

Whitelist Jobs

whitelistJobName = {  -- Add as many jobs as you want / Only whitelisted jobs can see "Upgrades"
    [1] = 'mechanic', 
    [2] = 'tuner', 
},

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.

{
    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 whitelisted jobs can see "Upgrades"
        [1] = 'mechanic', 
        [2] = 'tuner', 
    },
    setWhitelist = false,                           -- If false then everyone can use tuning on this location
    enableUpgrade = true,                           -- If true then Upgrades will show up
    label = "LS Customs",
    blipsprite = 72,
    blipcolor = 5,
    blipscale = 0.6,
    blipdisplay = 4,
    showBlip = true,
},

Last updated