Please help.I need delete NPC police,ambulance and traffic police
Make a client script and put this into it:
Citizen.CreateThread(function() for i = 1, 32 do Citizen.InvokeNative(0xDC0F817884CDD856, i, false) end while true do Citizen.Wait(0) if GetPlayerWantedLevel(PlayerId()) ~= 0 then ClearPlayerWantedLevel(PlayerId()) end end end)
Will stop emergency services from dispatching and also disable all wanted levels for all players, just in case.
As for random AI cops spawning near police stations, I don’t think you can easily remove them.
I dont need to remove the wanted lvl.I need remove npc cops
It will reduce the amount of NPC cops, AFAIK you can’t disable them completely.
but at the same time wanted lvl isnt given and cops(players) dont see the crime?
You can remove the wanted level part and keep the first part, this will allow for wanted level but cops not dispatched, they are however still in the game and if close by will attack people who are wanted.
for i = 1, 32 do Citizen.InvokeNative(0xDC0F817884CDD856, i, false) end
Works fine for me
cops are stayed on the street and their cars too.Dont work(