natives.LOCATE CHAR IN CAR 3D

From GTA Connected
Revision as of 10:08, 12 June 2026 by Roxas (talk | contribs) (Add ScriptItem documentation from GTA VC SCM decompile)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

natives.LOCATE_CHAR_IN_CAR_3D

Signature: void natives.LOCATE_CHAR_IN_CAR_3D(int ped, float minX, float minY, float minZ, float maxX, float maxY, float maxZ, int mode)

Usage: checks if a character in a vehicle is within a 3D area

Parameters

int ped Character handle to act upon.
float minX Parameter for this function.
float minY Parameter for this function.
float minZ Parameter for this function.
float maxX Parameter for this function.
float maxY Parameter for this function.
float maxZ Parameter for this function.
int mode Operating mode selector.

Return

void

On failure: void