Getting QB-Core ready for qb-jobs (#883)

Co-authored-by: Zerio <54480523+Z3rio@users.noreply.github.com>
This commit is contained in:
R0adRa93
2022-12-16 17:38:31 -05:00
committed by GitHub
parent 1ef7337ce5
commit cc64ee38e8
6 changed files with 27 additions and 91 deletions
+7 -3
View File
@@ -1,6 +1,9 @@
QBShared = QBShared or {}
QBShared.ForceJobDefaultDutyAtLogin = true -- true: Force duty state to jobdefaultDuty | false: set duty state from database last saved
QBShared.Jobs = {
QBShared.QBJobsStatus = false -- true: integrate qb-jobs into the whole of qb-core | false: treat qb-jobs as an add-on resource.
QBShared.Jobs = {} -- All of below has been migrated into qb-jobs
if not QBShared.QBJobsStatus then
QBShared.Jobs = {
['unemployed'] = {
label = 'Civilian',
defaultDuty = true,
@@ -125,7 +128,7 @@ QBShared.Jobs = {
},
},
},
['bus'] = {
['bus'] = {
label = 'Bus',
defaultDuty = true,
offDutyPay = false,
@@ -281,4 +284,5 @@ QBShared.Jobs = {
},
},
},
}
}
end