01E8
Jump to navigation
Jump to search
Contents |
- Description
- Forbids cars from spawning in an area
- Syntax
- 01E8: switch_roads_off [flt1] [flt2] [flt3] to [flt4] [flt5] [flt6]
- 01E8: create_forbidden_for_cars_cube [flt1] [flt2] [flt3] [flt4] [flt5] [flt6]
- Parameter
- [flt1]
- Top Left X-Coordinate
- [flt2]
- Top Left Y-Coordinate
- [flt3]
- Top Left Z-Coordinate
- [flt4]
- Bottom Right X-Coordinate
- [flt5]
- Bottom Right Y-Coordinate
- [flt6]
- Bottom Right Z-Coordinate
- Native analog
- SWITCH_ROADS_OFF
This opcode disabled nodes in the car paths, preventing any cars from moving to or spawning in that zone.
Example
This will prevent cars from spawning in the Portland side of the Callahan Bridge in GTA 3
01E8: create_forbidden_for_cars_cube 619.5625 -911.5 45.0 834.25 -954.5 32.0
Keywords
forbid, cars, lock, road