#qbox Job issue

1 messages · Page 1 of 1 (latest)

prime ibex
#

Hello I'm having a job issue I added a job to my job.lua called "fbi" with a lvl 1-10 and when I try to add the job to myself in-game this keep poping up

[ script:qbx_core] [qbx_core] [ERROR] cannot set job. Job fbi does not have grade 10

sick talon
#

show the jobs.lua

prime ibex
#

FBI Job:

['fbi'] = {
label = 'Federal Bureau of Investigations',
type = 'leo',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = {
name = 'Tacital Medic',
payment = 600
},
['1'] = {
name = 'New Agent Trainee',
payment = 800
},
['2'] = {
name = 'Special Agent',
payment = 900
},
['3'] = {
name = 'Senior Special Agent',
payment = 950
},
['4'] = {
name = 'Supervisory Special Agent',
payment = 1000
},
['5'] = {
name = 'Deputy Special Agent In Charge',
payment = 1100
},
['6'] = {
name = 'Special Agent In Charge',
payment = 1200
},
['7'] = {
name = 'Chief of Staff',
isboss = true,
bankAuth = true,
payment = 1500
},
['8'] = {
name = 'Associate Deptuy Director',
isboss = true,
bankAuth = true,
payment = 1700
},
['9'] = {
name = 'Deputy Director',
isboss = true,
bankAuth = true,
payment = 1800
},
['10'] = {
name = 'Director',
isboss = true,
bankAuth = true,
payment = 2000
},
},
},

#

Might of seen the issue

#

QB-Core when doing jobs you add ' to the numbers in qbox you don't

unreal geyser
#

Remove the ' ' between your grade numbers and it'll work 🙂

#

Just make it [0] [1] etc