SWITCH ROADS OFF

From GTAMods Wiki
Revision as of 04:19, 14 January 2010 by Spaceeinstein (talk | contribs) (created article)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SWITCH_ROADS_OFF
Number of parameters: 6
Parameter #TypeDescription
1.floatminimum x-coordinate
2.floatminimum y-coordinate
3.floatminimum z-coordinate
4.floatmaximum x-coordinate
5.floatmaximum y-coordinate
6.floatmaximum z-coordinate
Return value:
TypeDescription
None

This function prevents civilian-driven vehicles, including cars and boats, to spawn within the zone. Vehicles spawned outside the area will not travel into the area. Police cars don't spawn in the zone unless the player has a wanted level. Parked vehicles still spawn and mission vehicles still travel into the zone. This function can be undone using SWITCH_ROADS_BACK_TO_ORIGINAL.