qbcore-framework / qb-smallresources

A compilation of small resources combined into one
GNU General Public License v3.0
52 stars 349 forks source link

[BUG] - NPC/AI Police/Ambulance are active in my city/server #417

Closed ChlxeThomson closed 10 months ago

ChlxeThomson commented 1 year ago

I haven't touched qb-smallresources at all, all the coding for Police etc is all set to FALSE and their peds are blacklisted etc, but yet they seem to be coming after me when ever i shoot a gun or stab someone or beat someone up??????? I haven;t downloaded any other script that would change their behaviour etc.

Questions (please complete the following information):

Additional context I cannot seem to find a fix or problem

Screenshot 2023-10-14 015259 Screenshot 2023-10-14 022502 Screenshot 2023-10-14 024348 Screenshot 2023-10-15 212857 Screenshot 2023-10-15 213014 Screenshot 2023-10-15 213021 Screenshot 2023-10-15 213136
ChlxeThomson commented 1 year ago

i have even tried the No-NPC script and it didn't make a difference :(

Maxhero54 commented 1 year ago

You must be close
https://prnt.sc/Aw019grsu67u https://prnt.sc/zg3kWZNG1z5M qb-smallresource ---> config.lua and ignore.lua some others ..

Bellck commented 1 year ago

/qb-smallresources)/config.lua

Config.DispatchServices = { [1] = false, -- Police Vehicles [2] = false, -- Police Helicopters [3] = false, -- Fire Department Vehicles [4] = false, -- Swat Vehicles [5] = false, -- Ambulance Vehicles [6] = false, -- Police Motorcycles [7] = false, -- Police Backup [8] = false, -- Police Roadblocks [9] = false, -- PoliceAutomobileWaitPulledOver [10] = false, -- PoliceAutomobileWaitCruising [11] = false, -- Gang Members [12] = false, -- Swat Helicopters [13] = true, -- Police Boats [14] = false, -- Army Vehicles [15] = false, -- Biker Backup }

Ensure all of the above is false.

ChlxeThomson commented 1 year ago

You must be close https://prnt.sc/Aw019grsu67u https://prnt.sc/zg3kWZNG1z5M qb-smallresource ---> config.lua and ignore.lua some others ..

Am i deleting the ones you have crossed out in the second photo once i have changed the first photo to FALSE?

jessemel commented 11 months ago

Im having a similar issue with this, firetrucks are responding, police bikes autospawning at police station all I did was put in the new updated script

Maxhero54 commented 11 months ago

Im having a similar issue with this, firetrucks are responding, police bikes autospawning at police station all I did was put in the new updated script

https://github.com/qbcore-framework/qb-smallresources/issues/417#issuecomment-1773216887 did you try this ?

jessemel commented 11 months ago

@Maxhero54 yes I did and it did not work, I still see ambulances driving around and police bikes spawning in