#Issues with a Police Job

1 messages · Page 1 of 1 (latest)

sand star
#

Script Name: QB-Core

Error : None

What's the issue your experiencing: I made a new LEO police department with the type 'leo'.

What was the last thing that changed: Nothing.

What measures and steps have you taken to troubleshoot this issue: Ensuring the formatting is correct, and redoing it.

Video/screenshot:

humble summit
#

try remove , in line 44

sand star
#

How exactly would that help?

sand star
#

Thanks for trying though.

molten pike
#

You can't have negative indexes

#

Start at 0.

sand star
sand star
humble summit
#

yes

#

this

sand star
#

Why can't you do negative indexes?

sand star
#

Okay so the grades are working but we can't open doors

turbid tokenBOT
#

More Effort Required.

We are here to help you, but please, consider how much effort you are putting into your post.
Please provide information such as:

  • What you were doing when the issue occurred
  • What you have tried to resolve the issue
  • Any error messages you have received
  • Any other information you think may be relevant

Please edit your post to include this information, and we will be happy to try help you further.

sand star
#

What is support effort?

unborn cobalt
#

bro💀

#

don’t call yourself a dev

molten pike
#

"Okay so the grades are working but we can't open doors"

Do you want us to play 20 questions to figure this out?

sand star
unborn cobalt
#

you need to set the grades above 0

molten pike
#

If you just provided more effort, like telling us if you have the job, if you're on duty, what doorlock resource you're using, what door you can't unlock, and provide the code of the doorlock, I could give you an answer in a second.

unborn cobalt
#

you can’t set a - grade

sand star
sand star
molten pike
#

Are you gonna make me read 1000+ lines to find the doorlock in question?

unborn cobalt
#

You need to add the job for the lock script,like if you have the job you can open the door

#

you set it?

sand star
#

v_ilev_ph_gendoor002

v_ilev_ph_gendoor005

v_ilev_ph_cellgate

v_ilev_rc_door2

sand star
unborn cobalt
#

show me what you did

#

you need to set the job for it

sand star
#

OHHHH

#

Bro I'm done 💀

sand star
#

authorizedJobs = { 'police', 'texasdps' },

unborn cobalt
#

yap

#

but i use ox doorlock

#

more easy to modify

sand star
#

Free?

unborn cobalt
#

yap

#

i recommend you to use it

#

first delete qb-doorlock

sand star
#

Okay

unborn cobalt
#

and paste this into your folder

#

restart the server

#

and use the /doorlock command

sand star
unborn cobalt
#

yes

sand star
unborn cobalt
#

why?

sand star
#

When I try make it a group which would be texasdps and grade 10 and with another row grade 9 it only saves the first number and the items won't work either,

unborn cobalt
sand star
#

Umm what language is that..

unborn cobalt
#

idk 😂

#

just watch the video