RDR3 match
TASK::GET_WAYPOINT_DISTANCE_ALONG_ROUTE
0x789C1B685A4896FA ·RVA 0x04A87A10
Signature
float GET_WAYPOINT_DISTANCE_ALONG_ROUTE(
Hash waypointRecording,
int p1
);
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Hash | waypointRecording |
RDR3 takes a string; GTA VI passes its hash. |
| 1 | int | p1 |
– |
Returns
float
Call it
// TASK::GET_WAYPOINT_DISTANCE_ALONG_ROUTE
auto result = invoke<float>(0x789C1B685A4896FA, waypointRecording, p1);// TASK::GET_WAYPOINT_DISTANCE_ALONG_ROUTE
float result = Function.Call<float>((Hash)0x789C1B685A4896FA, waypointRecording, p1);-- TASK::GET_WAYPOINT_DISTANCE_ALONG_ROUTE
local result = Citizen.InvokeNative(0x789C1B685A4896FA, waypointRecording, p1)// TASK::GET_WAYPOINT_DISTANCE_ALONG_ROUTE
const result = Citizen.invokeNative("0x789C1B685A4896FA", waypointRecording, p1);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.