Difference between revisions of "SWITCH ROADS OFF"
Jump to navigation
Jump to search
(created article) |
m |
||
Line 15: | Line 15: | ||
|r=0 | |r=0 | ||
}} | }} | ||
− | 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]]. | + | 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]] with the same coordinates used for this function. |
Latest revision as of 04:20, 14 January 2010
Number of parameters: 6 | ||
---|---|---|
Parameter # | Type | Description |
1. | float | minimum x-coordinate |
2. | float | minimum y-coordinate |
3. | float | minimum z-coordinate |
4. | float | maximum x-coordinate |
5. | float | maximum y-coordinate |
6. | float | maximum z-coordinate |
Return value: | ||
Type | Description | |
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 with the same coordinates used for this function.