I need help disabling traffic from spawning in a certain area (the Elysian Island bridge). I am using a scene script to make the bridge broken, and thus I need to disable traffic from spawning where there is no road, or not drive off the bridge like idiots.
Can I disable NPC from spawning in a certain area (coords)? I wannt traffic to be alive in general throughout the city.
SetRoadsInArea(
vec3(1455.88, 762.5026, 73.21433), -- the corners of the area where I disabled traffic
vec3(1543.358, 885.8956, 80.26099),
false, -- set this to true to enable traffic in that area again
false
)