Job data for QBCore framework
Each vehicle shop comes with its own job where players can manage the price of the vehicles/buying vehicles to the stock/hiring people so please add jobs listed below to your qb-core framework.
QBShared.Jobs = {
['planedealer'] = {
label = 'Civilian',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = {
name = 'novice',
payment = 200
},
['1'] = {
name = 'experienced seller',
payment = 200
},
['2'] = {
name = 'boss',
isboss = true,
payment = 200
},
},
},
['boatdealer'] = {
label = 'Civilian',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = {
name = 'novice',
payment = 200
},
['1'] = {
name = 'experienced seller',
payment = 200
},
['2'] = {
name = 'boss',
isboss = true,
payment = 200
},
},
},
['dealer'] = {
label = 'Civilian',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = {
name = 'novice',
payment = 200
},
['1'] = {
name = 'experienced seller',
payment = 200
},
['2'] = {
name = 'boss',
isboss = true,
payment = 200
},
},
},
}
If you're using "qb-bossmenu" you will need to add job name + position for your boss menu to appear in-game. Use the snippet bellow
The position has to be 0, 0, 0 for each job because the rcore_pdm opens the boss menu from its own menu.
Config.Jobs = {
['planedealer'] = vector3(0,0,0), -- do not change position
['boatdealer'] = vector3(0,0,0), -- do not change position
['dealer'] = vector3(0,0,0), -- do not change position
}
Last updated
Was this helpful?