022B

From GTAMods Wiki
Jump to navigation Jump to search

GTA III Vice City San Andreas SWITCH_PED_ROADS_OFF


Description
Prevents pedestrians from spawning or traversing in an area
Syntax
San Andreas 022B: switch_ped_roads_off [flt1] [flt2] [flt3] to [flt4] [flt5] [flt6]
GTA III Vice City 022B: create_forbidden_for_peds_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_PED_ROADS_OFF

This opcode is used to temporarily disables nodes from the pedestrians path, which causes them to not spawn in these locations.

Example

This will prevent pedestrians from spawning in the Cochrane Dam area (the part where "The Exchange" takes place)

022B: create_forbidden_for_peds_cube -942.5625 337.0 10.0 -953.5625 361.375 30.0

Keywords

forbid, peds, lock, road