#categorize vehicles
1 messages · Page 1 of 1 (latest)
send the config
-- Grade 0 and higher
[0] = {
police = 'Police Car 1',
police2 = 'Police Car 2',
police3 = 'Police Car 3',
police4 = 'Police Car 4',
policeb = 'Police Car 5',
policet = 'Police Car 6',
sheriff = 'Sheriff Car 1',
sheriff2 = 'Sheriff Car 2',
},
[1] = {
police = 'Police Car 1',
police2 = 'Police Car 2',
police3 = 'Police Car 3',
police4 = 'Police Car 4',
policeb = 'Police Car 5',
policet = 'Police Car 6',
sheriff = 'Sheriff Car 1',
sheriff2 = 'Sheriff Car 2',
},
[2] = {
police = 'Police Car 1',
police2 = 'Police Car 2',
police3 = 'Police Car 3',
police4 = 'Police Car 4',
policeb = 'Police Car 5',
policet = 'Police Car 6',
sheriff = 'Sheriff Car 1',
sheriff2 = 'Sheriff Car 2',
},
}
so follow this template
I got that so far, I just wanna categorize them within divisions if you get what im saying
So someone who is a grade 1 lets say within ARV have access to ARV grade 1 vehicles from that menu
^
its the same for with the template
i gave u can set it based on the job
can you jump in support vc real quick, might be easier to explain what I mean
im here
label = 'Law Enforcement',
defaultDuty = true,
offDutyPay = false,
type = "leo",
grades = {
['0'] = {
name = 'cadet',
payment = 100
},
['1'] = {
name = 'prbation',
payment = 400
},
['2'] = {
name = 'Officer1',
payment = 400
},
['3'] = {
name = 'Officer2',
payment = 400
},
['4'] = {
name = 'Officer3',
payment = 400
},
['5'] = {
name = 'Sergeant',
payment = 400
},
['6'] = {
name = 'Lieutenant',
payment = 400
},
['7'] = {
name = 'captin',
isboss = true,
payment = 400
},
['8'] = {
name = 'Major',
payment = 400
},
['9'] = {
name = 'commander',
isboss = true,
payment = 400
},
['10'] = {
name = 'asstChief',
isboss = true,
payment = 400
},
['11'] = {
name = 'Chief',
isboss = true,
bankAuth = true,
payment = 400
},
['12'] = {
name = 'asst comminisor',
isboss = true,
bankAuth = true,
payment = 400
},
['13'] = {
name = 'comminisor',
isboss = true,
bankAuth = true,
payment = 400
},
},
},```
do I just put this into my resource folder and ensure it thats all?
Yea
How do I delete my old garages from PD?
^
Do you mean delete the garage location from the PD exterior?
basicly commet that secton of the config out
so just use "" over the section of coding?
what did u do to that line
I didnt do anything?
what did u change
absolutely nothing which is the weird thing
just inore that error if nothing is broken
I am just stuck on a infinite black loading screen tho so something is wrong
SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:750: SCRIPT ERROR: @qb-core/server/player.lua:105: attempt to index a nil value (field 'Jobs')
[script:qb-multichara] > CheckPlayerData (@qb-core/server/player.lua:105)
[script:qb-multichara] > ref (@qb-core/server/player.lua:21)
[script:qb-multichara] > rawExecute (@oxmysql/dist/build.js:26154)
[script:qb-multichara] > processTicksAndRejections (node:internal/process/task_queues:96)
[script:qb-multichara]
[script:qb-multichara] > handler (@qb-multicharacter/server/main.lua:91)
[script:qb-multichara] > rawExecute (@oxmysql/dist/build.js:26154)
[script:qb-multichara] > processTicksAndRejections (node:internal/process/task_queues:96)
come to vc
which one?
its your [qb]/qbcore/shared/jobs.lua
i got him dean thank u
no probs, ill leave you to it
i got it fixed quick
❤️
@kind sedge this is good to be closed