01E8

From GTAMods Wiki
Revision as of 00:25, 12 January 2019 by Parik (talk | contribs) (Add 01E3)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas SWITCH_ROADS_OFF


Description
Forbids cars from spawning in an area
Syntax
San Andreas 01E8: switch_roads_off [flt1] [flt2] [flt3] to [flt4] [flt5] [flt6]
GTA III Vice City 022B: 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