TASK_FOLLOW_NAV_MESH_TO_COORD_ADVANCED
Hash
0x17F58B88D085DBACRuntime name
TaskFollowNavMeshToCoordAdvancedNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x17F58B88D085DBACSignature
void TASK_FOLLOW_NAV_MESH_TO_COORD_ADVANCED(Ped ped, float x, float y, float z, float speedMultiplier, int timeout, float stoppingRange, int flags, float p8, float p9, float p10, Entity entity, float unk);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
x | float | — |
y | float | — |
z | float | — |
speedMultiplier | float | — |
timeout | int | — |
stoppingRange | float | — |
flags | int | — |
p8 | float | — |
p9 | float | — |
p10 | float | — |
entity | Entity | — |
unk | float | — |
Returns void
Usage
TaskFollowNavMeshToCoordAdvanced(ped, x, y, z, speedMultiplier, timeout, stoppingRange, flags, p8, p9, p10, entity, unk)
-- always works, by hash
Citizen.InvokeNative(0x17F58B88D085DBAC, ped, x, y, z, speedMultiplier, timeout, stoppingRange, flags, p8, p9, p10, entity, unk)JavaScript and C#
TaskFollowNavMeshToCoordAdvanced(ped, x, y, z, speedMultiplier, timeout, stoppingRange, flags, p8, p9, p10, entity, unk);
// by hash
Citizen.invokeNative('0x17F58B88D085DBAC', ped, x + 0.0000001, y + 0.0000001, z + 0.0000001, speedMultiplier + 0.0000001, timeout, stoppingRange + 0.0000001, flags, p8 + 0.0000001, p9 + 0.0000001, p10 + 0.0000001, entity, unk + 0.0000001);Function.Call((Hash)0x17F58B88D085DBAC, ped, x, y, z, speedMultiplier, timeout, stoppingRange, flags, p8, p9, p10, entity, unk);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.