natives.GET CLOSEST STRAIGHT ROAD

Revision as of 12:18, 13 June 2026 by Roxas (talk | contribs) (Add ScriptItem documentation from GTA VC SCM decompile)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

natives.GET_CLOSEST_STRAIGHT_ROAD

Signature: void natives.GET_CLOSEST_STRAIGHT_ROAD(Vec3 position, float radius, float value)

Usage: retrieves the closest straight road

Parameters

Vec3 position World coordinates (x, y, z).
float radius Radius in units.
float value Numeric value.

Return

void

On failure: void