TASK

GET_NAVMESH_ROUTE_DISTANCE_REMAINING

0xC6F5C0BCDC74D62D Jenkins: 0xD9281778

Signature

// TASK
int GET_NAVMESH_ROUTE_DISTANCE_REMAINING(Ped ped, float* distanceRemaining, BOOL* isPathReady)

Parameters

Type Name
Ped ped
float* distanceRemaining
BOOL* isPathReady

Return type int

Build 323

Documentation

Looks like the last parameter returns true if the path has been calculated, while the first returns the remaining distance to the end of the path. Return value of native is the same as GET_NAVMESH_ROUTE_RESULT Looks like the native returns an int for the path's state: 1 - ??? 2 - ??? 3 - Finished Generating

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.