Jobs form the backbone of any serious roleplay economy. Whether you are building an automotive mechanic workshop or an international delivery firm, this tutorial covers registering job ranks, salaries, and on-duty restrictions.
1. Registering the Job in qb-core/shared/jobs.lua
['mechanic_apex'] = {
label = 'Apex Performance Garage',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = { name = 'Recruit', payment = 50 },
['1'] = { name = 'Technician', payment = 120 },
['2'] = { name = 'Lead Mechanic', payment = 200 },
['3'] = { name = 'Boss', isboss = true, payment = 350 },
},
},