PATHFIND

GET_CLOSEST_VEHICLE_NODE

0x240A18690AE96513 Jenkins: 0x6F5F1E6C

Signature

// PATHFIND
BOOL GET_CLOSEST_VEHICLE_NODE(float x, float y, float z, Vector3* outPosition, int nodeType, float p5, float p6)

Parameters

Type Name
float x
float y
float z
Vector3* outPosition
int nodeType
float p5
float p6

Return type BOOL

Build 323

Documentation

FYI: When falling through the map (or however you got under it) you will respawn when your player ped's height is <= -200.0 meters (I think you all know this) and when in a vehicle you will actually respawn at the closest vehicle node. ---------- Vector3 nodePos; GET_CLOSEST_VEHICLE_NODE(x,y,z,&nodePos,...) nodeType: 0 = main roads, 1 = any dry path, 3 = water p5, p6 are always the same: 0x40400000 (3.0), 0 p5 can also be 100.0 and p6 can be 2.5: PATHFIND::GET_CLOSEST_VEHICLE_NODE(a_0, &v_5, v_9, 100.0, 2.5) gtaforums.com/topic/843561-pathfind-node-types

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.