taskVehicleChase
TASK_VEHICLE_CHASE0x3C08A8E30363B353The 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.
taskVehicleChase(driver: Ped, targetEnt: Entity): voidtaskVehicleChase(driver: Ped, targetEnt: Entity)Usage
JavaScript
taskVehicleChase(driver, targetEnt);Lua
taskVehicleChase(driver, targetEnt)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
driver | Ped | number | integer |
targetEnt | Entity | number | integer |
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