RedM Natives

TASK_FLUSH_ROUTE

Clears the current point route.

Hash0x841142A1376E9006
Runtime nameTaskFlushRoute
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x841142A1376E9006

Signature

void TASK_FLUSH_ROUTE();

Returns void

Description

Clears the current point route. Call this before TASK_EXTEND_ROUTE and TASK_FOLLOW_POINT_ROUTE.

Usage

Lua
TaskFlushRoute()

-- always works, by hash
Citizen.InvokeNative(0x841142A1376E9006)
JavaScript and C#
JavaScript
TaskFlushRoute();

// by hash
Citizen.invokeNative('0x841142A1376E9006');
C#
Function.Call((Hash)0x841142A1376E9006);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.