Vehicles can be “suppressed” with this native function:
SetVehicleModelIsSuppressed(GetHashKey("taxi"), true)
(where taxi
is the model name of the vehicle you want to stop from spawning in the traffic - but not in the “parking spots”)
For more advanced vehicle blocking you have to look for some scripts.