Log In
Sign Up
Game code

TASK::WAYPOINT_RECORDING_GET_CLOSEST_WAYPOINT

0xF7E0789049D65D67 ·RVA 0x04A978F0

Signature

BOOL WAYPOINT_RECORDING_GET_CLOSEST_WAYPOINT(
    Hash waypointRecording,
    Vector3 pos,
    int* point,
    int p3,
    int p4
);

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

Parameters 5

#TypeNameNotes
0HashwaypointRecording RDR3 takes a string; GTA VI passes its hash.
1Vector3pos –
2int*point –
3intp3 –
4intp4 –

Returns

BOOL

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:
  • p3 is not in RDR3's signature; the game reads it as a 32-bit integer, and small whole numbers.
  • p4 is not in RDR3's signature; the game reads it as a 32-bit integer, and small whole numbers.

Call it

// TASK::WAYPOINT_RECORDING_GET_CLOSEST_WAYPOINT
auto result = invoke<BOOL>(0xF7E0789049D65D67, waypointRecording, pos, &point, p3, p4);

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.