taskVehicleShootAtPed
TASK_VEHICLE_SHOOT_AT_PED0x10AB107B887214D8The GTA V native TASK_VEHICLE_SHOOT_AT_PED of the TASK namespace, as LS:MP client scripts call it: the global function taskVehicleShootAtPed, in JavaScript and in Lua.
taskVehicleShootAtPed(ped: Ped, target: Ped, fireTolerance: number): voidtaskVehicleShootAtPed(ped: Ped, target: Ped, fireTolerance: number)Usage
JavaScript
taskVehicleShootAtPed(ped, target, fireTolerance);Lua
taskVehicleShootAtPed(ped, target, fireTolerance)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
target | Ped | number | integer |
fireTolerance | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Tasks TASK
- In the game
void TASK_VEHICLE_SHOOT_AT_PED(Ped ped, Ped target, float fireTolerance)- Hash
0x10AB107B887214D8