taskPlantBomb
TASK_PLANT_BOMB0x965FEC691D55E9BFThe GTA V native TASK_PLANT_BOMB of the TASK namespace, as LS:MP client scripts call it: the global function taskPlantBomb, in JavaScript and in Lua.
taskPlantBomb(
ped: Ped,
x: number,
y: number,
z: number,
heading: number
): voidtaskPlantBomb(ped: Ped, x: number, y: number, z: number, heading: number)Usage
JavaScript
taskPlantBomb(ped, x, y, z, heading);Lua
taskPlantBomb(ped, x, y, z, heading)Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.
JavaScript · with vectors
taskPlantBomb(ped, pos, heading);Lua · with vectors
taskPlantBomb(ped, pos, heading)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
x | float | number | number |
y | float | number | number |
z | float | number | number |
heading | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Tasks TASK
- In the game
void TASK_PLANT_BOMB(Ped ped, float x, float y, float z, float heading)- Hash
0x965FEC691D55E9BF