TasksClient

deletePatrolRoute

DELETE_PATROL_ROUTE0x7767DD9D65E91319

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

SignatureJavaScript
deletePatrolRoute(patrolRoute: string): void
SignatureLua
deletePatrolRoute(patrolRoute: string)

Usage

JavaScript
deletePatrolRoute(patrolRoute);
Lua
deletePatrolRoute(patrolRoute)

Parameters

ParameterTypeJavaScriptLua
patrolRoutestringstringstring

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.

From the b617d scripts:

deletePatrolRoute("miss_merc0");
deletePatrolRoute("miss_merc1");
deletePatrolRoute("miss_merc2");
deletePatrolRoute("miss_dock");

Reference

Namespace
Tasks TASK
In the game
void DELETE_PATROL_ROUTE(const char* patrolRoute)
Hash
0x7767DD9D65E91319

Open in the interactive natives reference