GTA V match
TASK::GET_NAVMESH_ROUTE_DISTANCE_REMAINING
0x238B29D2390A3F43 ·RVA 0x044BF0B0
Signature
int GET_NAVMESH_ROUTE_DISTANCE_REMAINING(
Ped ped,
float* distanceRemaining,
BOOL* isPathReady
);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | float* | distanceRemaining |
– |
| 2 | BOOL* | isPathReady |
– |
Returns
int
Call it
// TASK::GET_NAVMESH_ROUTE_DISTANCE_REMAINING
auto result = invoke<int>(0x238B29D2390A3F43, ped, &distanceRemaining, &isPathReady);// TASK::GET_NAVMESH_ROUTE_DISTANCE_REMAINING
int result = Function.Call<int>((Hash)0x238B29D2390A3F43, ped, distanceRemaining, isPathReady);-- TASK::GET_NAVMESH_ROUTE_DISTANCE_REMAINING
local result = Citizen.InvokeNative(0x238B29D2390A3F43, ped, distanceRemaining, isPathReady)// TASK::GET_NAVMESH_ROUTE_DISTANCE_REMAINING
const result = Citizen.invokeNative("0x238B29D2390A3F43", ped, distanceRemaining, isPathReady);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.