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
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