Log In
Sign Up
RDR3 match

PATH::GET_NTH_CLOSEST_VEHICLE_NODE_ID_WITH_HEADING

0x58088992BEEB1557 ·RVA 0x0445E500

Signature

int GET_NTH_CLOSEST_VEHICLE_NODE_ID_WITH_HEADING(
    Vector3 pos,
    int nthClosest,
    float* returnHeading,
    int* returnNumLanes,
    int nodeFlags,
    float zMeasureMult,
    float zTolerance
);

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

Parameters 7

#TypeNameNotes
0Vector3pos –
1intnthClosest –
2float*returnHeading –
3int*returnNumLanes –
4intnodeFlags –
5floatzMeasureMult the game doesn't read it.
6floatzTolerance the game doesn't read it.

Returns

int

Call it

// PATH::GET_NTH_CLOSEST_VEHICLE_NODE_ID_WITH_HEADING
auto result = invoke<int>(0x58088992BEEB1557, pos, nthClosest, &returnHeading, &returnNumLanes, nodeFlags, zMeasureMult, zTolerance);

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.