deletePatrolRoute
DELETE_PATROL_ROUTE0x7767DD9D65E91319The 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.
deletePatrolRoute(patrolRoute: string): voiddeletePatrolRoute(patrolRoute: string)Usage
JavaScript
deletePatrolRoute(patrolRoute);Lua
deletePatrolRoute(patrolRoute)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
patrolRoute | string | string | string |
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