Job Information
By default, the script can be used with any job, but you may want to restrict access to certain features (management panel, adding vehicles, finances, etc.).
For ESX:
Configure the job in the
jobstable and its grades in thejob_gradestable (e.g. jobcardealerwithgrade 3).Example: management features are available to the
cardealerboss and anyemployeeswho are granted permissions.
For QBCore:
Configure job in
qb-core/shared/jobs.lua.Example job entry:
['cardealer'] = {
label = 'Car Dealer',
defaultDuty = true,
grades = {
['1'] = {
name = 'employee',
payment = 250
},
['3'] = {
name = 'boss',
isboss = true,
payment = 500
}
}
},
In ambr4_vehicleshop config:
Last updated