Log In
Sign Up
RDR3 match

PATH::GET_CLOSEST_VEHICLE_NODE_WITH_HEADING

0x34DBCCABDC3002B3 ·RVA 0x0445DBE0

Signature

BOOL GET_CLOSEST_VEHICLE_NODE_WITH_HEADING(
    Vector3 pos,
    Vector3* outPosition,
    float* outHeading,
    int nodeType,
    float p6,
    float p7
);

The scripts pass 7 values to this native; the decoded signature lists 6 (arguments the game doesn't read are left out).

Parameters 6

#TypeNameNotes
0Vector3pos –
1Vector3*outPosition –
2float*outHeading –
3intnodeType –
4floatp6 the game doesn't read it.
5floatp7 the game doesn't read it.

Returns

BOOL

Call it

// PATH::GET_CLOSEST_VEHICLE_NODE_WITH_HEADING
auto result = invoke<BOOL>(0x34DBCCABDC3002B3, pos, &outPosition, &outHeading, nodeType, p6, p7);

Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.

Improve this page

Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.