No NPC Cars

Hey eveyone,
Is there a script that only disables the npc cars? I can find lots of scripts dat completely disables all npc’s but not one that only disables the cars.
Hope someone can help me out.

Thanks in advance.
-Mike

SetRoutingBucketPopulationEnabled(0, false)

-- Alternative
SetPedPopulationBudget(0)
SetVehiclePopulationBudget(0)

You can run these once in your script

Does that disable all npc or only the npc cars?

Disables ALL NPCs

Editing this script’s cl.lua should get you what you want:

Id recommend this [FREE] Remove all NPCs
The script that Iamawesome2411 posted takes up lots of performance from the client