taskParachuteToTarget
TASK_PARACHUTE_TO_TARGET0xB33E291AFA6BD03AThe GTA V native TASK_PARACHUTE_TO_TARGET of the TASK namespace, as LS:MP client scripts call it: the global function taskParachuteToTarget, in JavaScript and in Lua.
taskParachuteToTarget(ped: Ped, x: number, y: number, z: number): voidtaskParachuteToTarget(ped: Ped, x: number, y: number, z: number)Usage
JavaScript
taskParachuteToTarget(ped, x, y, z);Lua
taskParachuteToTarget(ped, x, y, z)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
taskParachuteToTarget(ped, pos);Lua · with vectors
taskParachuteToTarget(ped, pos)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
x | float | number | number |
y | float | number | number |
z | float | number | number |
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.
makes ped parachute to coords x y z. Works well with getSafeCoordForPed
Reference
- Namespace
- Tasks TASK
- In the game
void TASK_PARACHUTE_TO_TARGET(Ped ped, float x, float y, float z)- Hash
0xB33E291AFA6BD03A