Installation

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

['co'] = {
		label = 'Corrections Officer',
        type = "leo",
		defaultDuty = true,
		offDutyPay = false,
		grades = {
            ['0'] = {
                name = 'Recruit',
                payment = 150
            },
			['1'] = {
                name = 'Officer',
                payment = 275
            },
			['2'] = {
                name = 'Sergeant',
                payment = 360
            },
			['3'] = {
                name = 'Lieutenant',
                payment = 500
            },
			['4'] = {
                name = 'Warden',
		isboss = true,
                payment = 600
            },
        },
	},

Inside qb-management/client/cl_config.lua add these Feel free to change the coords to wherever you prefer

Config.BossMenus = {
['co'] = {
        vector3(1839.81, 2574.54, 46.01),
    },
}


Config.BossMenuZones = {
['co'] = {
        { coords = vector3(1839.81, 2574.54, 46.01), length = 1.15, width = 2.6, heading = 353.0, minZ = 43.59, maxZ = 44.99 },
    },
}

Add this to qb-core/shared/items.lua

------Solstice-Prison
["tape"] = {
	["name"] = "tape",                       
	["label"] = "Tape",             
	["weight"] = 100,         
	["type"] = "item",         
	["image"] = "tape.png",                 
	["unique"] = false,         
	["useable"] = false,     
	["shouldClose"] = true,   
	["combinable"] = nil,   
	["description"] = "Used to hold items together"
},

["circuitboard"] = {
	["name"] = "circuitboard",                       
	["label"] = "Circuit Board",             
	["weight"] = 100,         
	["type"] = "item",         
	["image"] = "circuitboard.png",                 
	["unique"] = false,         
	["useable"] = false,     
	["shouldClose"] = true,   
	["combinable"] = nil,   
	["description"] = "Used to make electronic devices"
},

Make sure to add the provided doorlock file

import the management sql if you want to use qb-management

Last updated

Was this helpful?