natives.CLEAR AREA OF CHARS: 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 5: Line 5:
|name = natives.CLEAR_AREA_OF_CHARS
|name = natives.CLEAR_AREA_OF_CHARS
|parameters = Vec3 min, Vec3 max
|parameters = Vec3 min, Vec3 max
|parameter1 = Vec3 min Minimum corner of the area (Vector3).
|parameter1 = Vec3 min Minimum corner of the area.
|parameter2 = Vec3 max Maximum corner of the area (Vector3).
|parameter2 = Vec3 max Maximum corner of the area.
|usage = Remove all characters between two points.
|usage = removes all pedestrians within a rectangular area
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}

Revision as of 11:44, 13 June 2026

natives.CLEAR_AREA_OF_CHARS

Signature: void natives.CLEAR_AREA_OF_CHARS(Vec3 min, Vec3 max)

Usage: removes all pedestrians within a rectangular area

Parameters

Vec3 min Minimum corner of the area.
Vec3 max Maximum corner of the area.

Return

void

On failure: void