#QB-BankRobbery

1 messages · Page 1 of 1 (latest)

dreamy wigeon
#

Error:
Minimum of 1 police required

What's the issue you're experiencing:
I have One player on duty for police, clocked in at MRPD, Player is at the bank in Legion with the items required, but says there is 1 police required.
In the config all Config.MinimumPaletoPolice = 1 and ect.

What was the last thing that changed:
I tried changing it to Config.MinimumPolice = 1 Didn't help, changed it back to default.

What measures and steps have you taken to troubleshoot this issue:
I tried changing it to Config.MinimumPolice = 1 Didn't help.
Do I need to go make new jobs in the qb-core > shared > jobs for each of the police?

#

Here is my police job from qb-core > shared > jobs

dreamy wigeon
#

This is all the information I could find from the documentations of qb-bankrobbery

short coyote
#

Make sure they a toggled on duty also you can set it to 0

solid sphinx
#

Solved?

dreamy wigeon
solid sphinx
#

So you are using exactly the default qb-bankrobbery , and qb-policejob ? No custom scripts aside of that, no edits whatsoever?

dreamy wigeon
solid sphinx
#

Did you try setting the cop limit to 0 ?

dreamy wigeon
solid sphinx
#

I thought you wanted that for testing purposes, but what are you actually aiming for ?

dreamy wigeon
solid sphinx
#

But by default, as far as I know, there must be like 2-4 police officers online, depending on what the players are trying to rob, unless you were changing something.

dreamy wigeon
solid sphinx
#

"police" is equal for every police station all over the map

#

Are you using qb-policejob ?

#

Im gonna do it for you

#

Just let me know exactly what you want to do ?

#

Sorry, I've been over my head today and kind of confused

dreamy wigeon
dreamy wigeon
#

Update: Not Resolved, Does anyone here know how to use qb-policejob with qb-bankrobbery/qb-houserobbery/qb-storerobbery/qb-jewelery

dreamy wigeon
#

Update: I just tried adding the FleecaPolice as a job to qb-core > shared > jobs.lua and it didn't work, I wasn't able to give the player the job

solid sphinx
#

Check for case sensitive letters "FleecaPolice" , is it connected via other stuff as the same case sensitive letters and so on. There are no errors in the console?

dreamy wigeon
dreamy wigeon
dreamy wigeon
short coyote
#

can you send me your core and policejob and the bank so i can dive into it please

solid sphinx
#

Ypu are probably triggering the police on duty status, I was about to say the same as phelps, dm me your qb-policejob and ill make it for you, if not, ill post a default qbcore resource based on screenshots that i see

solid sphinx
#

Are you sure you were on duty when you were testing this out ?

#

You shouldn't have made the new job for pacific bank. That configPacificBank means how many cops needs to be online in order to trigger the bank robbery of that exact one

#

I tested it out on my own and it works normally. For testing purposes I did 0, so I could trigger the bank robbery, when I tried to trigger the bank robbery with cops online 1 I could do it, but the only thing is that the player had to be on duty. I think you just need to re-log or something, this is not an issue , it should work, I checked the code myself and there is no "flaws" in it

short coyote
#

i was coming here to say the same thing i tested with 0 and 1 both are working for me with your files

solid sphinx
#

Hi. So its solved?

short coyote
grizzled hawk
#

You have 3 separate values in Config to set the min police for these 3. anks