natives.IS SNIPER BULLET IN AREA: 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.IS_SNIPER_BULLET_IN_AREA
|name = natives.IS_SNIPER_BULLET_IN_AREA
|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 = Check if a sniper bullet is in the area.
|usage = checks whether a sniper bullet has passed through a defined area
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}

Latest revision as of 12:01, 13 June 2026

natives.IS_SNIPER_BULLET_IN_AREA

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

Usage: checks whether a sniper bullet has passed through a defined area

Parameters

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

Return

void

On failure: void