natives.CLEAR AREA OF CARS: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile)
 
(Add ScriptItem documentation from GTA VC SCM decompile)
Line 4: Line 4:
|type = function
|type = function
|name = natives.CLEAR_AREA_OF_CARS
|name = natives.CLEAR_AREA_OF_CARS
|parameters = Vec3 min, Vec3 max
|parameters = Vec3 position, Vec3 position
|parameter1 = Vec3 min Minimum corner of the area (Vector3).
|parameter1 = Vec3 position World coordinates (x, y, z).
|parameter2 = Vec3 max Maximum corner of the area (Vector3).
|parameter2 = Vec3 position World coordinates (x, y, z).
|usage = Remove all vehicles between two points.
|usage = removes all vehicles within a rectangular area
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}

Revision as of 17:31, 13 June 2026

natives.CLEAR_AREA_OF_CARS

Signature: void natives.CLEAR_AREA_OF_CARS(Vec3 position, Vec3 position)

Usage: removes all vehicles within a rectangular area

Parameters

Vec3 position World coordinates (x, y, z).
Vec3 position World coordinates (x, y, z).

Return

void

On failure: void