natives.HAS GLASS BEEN SHATTERED NEARBY: 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.HAS_GLASS_BEEN_SHATTERED_NEARBY
|name = natives.HAS_GLASS_BEEN_SHATTERED_NEARBY
|parameters = Vec3 position
|parameters = Vec3 position
|parameter1 = Vec3 position World position (Vector3).
|parameter1 = Vec3 position Race position.
|usage = Check if glass was shattered near the position.
|usage = checks whether glass has been shattered near the specified position
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}

Latest revision as of 11:53, 13 June 2026

natives.HAS_GLASS_BEEN_SHATTERED_NEARBY

Signature: void natives.HAS_GLASS_BEEN_SHATTERED_NEARBY(Vec3 position)

Usage: checks whether glass has been shattered near the specified position

Parameters

Vec3 position Race position.

Return

void

On failure: void