Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
RavenAC

Question QBcore base (fivem) how can activate wanted mode?

MaxHero

Gold Elite
Joined
Jul 10, 2021
Messages
209
Solutions
5
Reaction score
293
Points
316
Location
Türkiye
for My fivem (QBcore) server how can i activate wanted mode ..?

I want the NPC police to chase me whenever I shoot a gun or shoot an NPC..

sample picture attached.
 

Attachments

  • Screenshot_5.png
    Screenshot_5.png
    4.4 MB · Views: 2,698
Solution
MaxHero

MaxHero, thank you for providing the solution.

its solved bymyself :p yes under the qb-smallresources

1 --> config.lua

**like this **
Config.BlacklistedPeds = {
-- [`s_m_y_ranger_01`] = true,
-- [`s_m_y_sheriff_01`] = true,
-- [`s_m_y_cop_01`] = true,
-- [`s_f_y_sheriff_01`] = true,
-- [`s_f_y_cop_01`] = true,
-- [`s_m_y_hwaycop_01`] = true,
}

Config.BlacklistedScenarios = {
['TYPES'] = {
"WORLD_VEHICLE_MILITARY_PLANES_SMALL",
"WORLD_VEHICLE_MILITARY_PLANES_BIG",
},
['GROUPS'] = {
-- 2017590552,
-- 2141866469,
-- 1409640232,
`ng_planes`,
}


2 --> client folder ignore.lua

CreateThread(function() -- all these should only need to be called once...

MaxHero

Gold Elite
Joined
Jul 10, 2021
Messages
209
Solutions
5
Reaction score
293
Points
316
Location
Türkiye
its solved bymyself :p yes under the qb-smallresources

1 --> config.lua

**like this **
Config.BlacklistedPeds = {
-- [`s_m_y_ranger_01`] = true,
-- [`s_m_y_sheriff_01`] = true,
-- [`s_m_y_cop_01`] = true,
-- [`s_f_y_sheriff_01`] = true,
-- [`s_f_y_cop_01`] = true,
-- [`s_m_y_hwaycop_01`] = true,
}

Config.BlacklistedScenarios = {
['TYPES'] = {
"WORLD_VEHICLE_MILITARY_PLANES_SMALL",
"WORLD_VEHICLE_MILITARY_PLANES_BIG",
},
['GROUPS'] = {
-- 2017590552,
-- 2141866469,
-- 1409640232,
`ng_planes`,
}


2 --> client folder ignore.lua

CreateThread(function() -- all these should only need to be called once
StartAudioScene("CHARACTER_CHANGE_IN_SKY_SCENE")
SetAudioFlag("PoliceScannerDisabled", true) -- true
SetGarbageTrucks(false) -- false
SetCreateRandomCops(true) -- false
SetCreateRandomCopsNotOnScenarios(true) -- false
SetCreateRandomCopsOnScenarios(true) -- false
DistantCopCarSirens(true) -- false
RemoveVehiclesFromGeneratorsInArea(335.2616 - 300.0, -1432.455 - 300.0, 46.51 - 300.0, 335.2616 + 300.0, -1432.455 + 300.0, 46.51 + 300.0) -- central los santos medical center
RemoveVehiclesFromGeneratorsInArea(441.8465 - 500.0, -987.99 - 500.0, 30.68 -500.0, 441.8465 + 500.0, -987.99 + 500.0, 30.68 + 500.0) -- police station mission row
RemoveVehiclesFromGeneratorsInArea(316.79 - 300.0, -592.36 - 300.0, 43.28 - 300.0, 316.79 + 300.0, -592.36 + 300.0, 43.28 + 300.0) -- pillbox
RemoveVehiclesFromGeneratorsInArea(-2150.44 - 500.0, 3075.99 - 500.0, 32.8 - 500.0, -2150.44 + 500.0, -3075.99 + 500.0, 32.8 + 500.0) -- military
RemoveVehiclesFromGeneratorsInArea(-1108.35 - 300.0, 4920.64 - 300.0, 217.2 - 300.0, -1108.35 + 300.0, 4920.64 + 300.0, 217.2 + 300.0) -- nudist
RemoveVehiclesFromGeneratorsInArea(-458.24 - 300.0, 6019.81 - 300.0, 31.34 - 300.0, -458.24 + 300.0, 6019.81 + 300.0, 31.34 + 300.0) -- police station paleto
RemoveVehiclesFromGeneratorsInArea(1854.82 - 300.0, 3679.4 - 300.0, 33.82 - 300.0, 1854.82 + 300.0, 3679.4 + 300.0, 33.82 + 300.0) -- police station sandy
RemoveVehiclesFromGeneratorsInArea(-724.46 - 300.0, -1444.03 - 300.0, 5.0 - 300.0, -724.46 + 300.0, -1444.03 + 300.0, 5.0 + 300.0) -- REMOVE CHOPPERS WOW
end)


-- set like below

CreateThread(function()
for i = 1, 15 do
EnableDispatchService(i, true) --false
end

SetMaxWantedLevel(5) -- SetMaxWantedLevel(0)
end)

than restart smallresources thats all
 
Solution
Top