Difference between revisions of "01E8"
Jump to navigation
Jump to search
(Add 01E3) |
m |
||
Line 5: | Line 5: | ||
| description = Forbids cars from spawning in an area | | description = Forbids cars from spawning in an area | ||
| syntax1 = {{Icon|SA}} 01E8: switch_roads_off [''flt1''] [''flt2''] [''flt3''] to [''flt4''] [''flt5''] [''flt6''] | | syntax1 = {{Icon|SA}} 01E8: switch_roads_off [''flt1''] [''flt2''] [''flt3''] to [''flt4''] [''flt5''] [''flt6''] | ||
− | | syntax2 = {{Icon|III}} {{Icon|VC}} | + | | syntax2 = {{Icon|III}} {{Icon|VC}} 01E8: create_forbidden_for_cars_cube [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] |
| p1t = [''flt1''] | | p1t = [''flt1''] | ||
| p1d = Top Left X-Coordinate | | p1d = Top Left X-Coordinate |
Latest revision as of 00:32, 12 January 2019
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