TasksClient

taskVehicleChase

TASK_VEHICLE_CHASE0x3C08A8E30363B353

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

SignatureJavaScript
taskVehicleChase(driver: Ped, targetEnt: Entity): void
SignatureLua
taskVehicleChase(driver: Ped, targetEnt: Entity)

Usage

JavaScript
taskVehicleChase(driver, targetEnt);
Lua
taskVehicleChase(driver, targetEnt)

Parameters

ParameterTypeJavaScriptLua
driverPednumberinteger
targetEntEntitynumberinteger

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.

chases targetEnt fast and aggressively
--
Makes ped (needs to be in vehicle) chase targetEnt.

Reference

Namespace
Tasks TASK
In the game
void TASK_VEHICLE_CHASE(Ped driver, Entity targetEnt)
Hash
0x3C08A8E30363B353

Open in the interactive natives reference