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
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Hash | waypointRecording |
RDR3 takes a string; GTA VI passes its hash. |
| 1 | Vector3 | pos |
– |
| 2 | int* | point |
– |
| 3 | int | p3 |
– |
| 4 | int | p4 |
– |
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);// TASK::WAYPOINT_RECORDING_GET_CLOSEST_WAYPOINT
bool result = Function.Call<bool>((Hash)0xF7E0789049D65D67, waypointRecording, pos, point, p3, p4);-- TASK::WAYPOINT_RECORDING_GET_CLOSEST_WAYPOINT
local result = Citizen.InvokeNative(0xF7E0789049D65D67, waypointRecording, pos, point, p3, p4)// TASK::WAYPOINT_RECORDING_GET_CLOSEST_WAYPOINT
const result = Citizen.invokeNative("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.