TasksClient

taskFlushRoute

TASK_FLUSH_ROUTE0x841142A1376E9006

The GTA V native TASK_FLUSH_ROUTE of the TASK namespace, as LS:MP client scripts call it: the global function taskFlushRoute, in JavaScript and in Lua.

SignatureJavaScript
taskFlushRoute(): void
SignatureLua
taskFlushRoute()

Usage

JavaScript
taskFlushRoute();
Lua
taskFlushRoute()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

MulleKD19: Clears the current point route. Call this before taskExtendRoute and taskFollowPointRoute.

Reference

Namespace
Tasks TASK
In the game
void TASK_FLUSH_ROUTE()
Hash
0x841142A1376E9006

Open in the interactive natives reference