Installation

Dependencies

QBCore Framework


How to install

Add this to your qb-core/shared/jobs.lua

['electrician'] = {
	label = 'LS Electrician',
	defaultDuty = true,
	offDutyPay = false,
	grades = {
        ['0'] = {
            name = 'Employed',
            payment = 500
        },
    },
},

Otherwise your job settings wont work If you set setJob = true

Config.JobSettings = {
    fixTime     = math.random(9000,10000),              -- How long it takes to fix a electrician issue (9000,10000 = 9-10sek)
    jobName     = "electrician",                        -- The name of the job -- Do not forget to add the job to your qbcore/shared/jobs.lua (README)
    setJob      = true,                                 -- Only electricians can start the job (true) or everyone (false)
    showBlip    = true,                                 -- Show blips on map true/false
    blipsprite  = 354,                                  
    blipcolor   = 5,
    blipscale   = 0.8,
    blipdisplay = 4,
}

Last updated