[REQUEST/HELP] Removing Police parked cars spawning

been trying the search bar and loading in scripts people suggest to remove police cars from spawning in and they still spawn parked outside the station ? Any one got something to stop this ?

Edit: Ive tried removeAIcops and they still spawn parked.

1 Like

Maybe calling RemoveVehiclesFromGeneratorsInArea() in a script with the coords of that area works?

3 Likes

I’m in need of the same thing, some police cars also patrol around the city for some strange reason. They do not do anything when you attack them or anything as wanted is off.

@SuperCush
If it’s not working for you then just delete it redownload the newest version!

1 Like

even with the newest version it doesn’t work.
I also need help with this as the stupid cop cars keep spawning

I have a few scripts running for this and i dont know what one is doing it without turning off one by one which im not really happy about doing But the ones i have are:

  • aibegone
  • disabledispatch
  • removeAIcops
  • trafficadjuster

yes its a bit silly having 4 running but its working lol

1 Like

Can you send me a link to this? Searching on google gives no results.

1 Like

client.lua (917 Bytes)

this will make it so no emergency vehicles will be on map, you have to spawn them
@SuperCush

1 Like

do i just put that in a new folder?

Just make a folder any name you want, put that file in there and make a __resource.lua file.

inside there put in the client.lua as a resource and then in your server.cfg file just call the folder you made

You could remove the vehicle generators in codewalker. Gtet the latest version in CodeWalker

Hello!

Maybe this wil help!