taskParachute
TASK_PARACHUTE0xD2F1C53C97EE81ABThe GTA V native TASK_PARACHUTE of the TASK namespace, as LS:MP client scripts call it: the global function taskParachute, in JavaScript and in Lua.
taskParachute(ped: Ped, giveParachuteItem: boolean, instant: boolean): voidtaskParachute(ped: Ped, giveParachuteItem: boolean, instant: boolean)Usage
JavaScript
taskParachute(ped, giveParachuteItem, instant);Lua
taskParachute(ped, giveParachuteItem, instant)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
giveParachuteItem | BOOL | boolean | boolean |
instant | BOOL | boolean | boolean |
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.
Second parameter is unused.
second parameter was for jetpack in the early stages of gta and the hard coded code is now removed
Reference
- Namespace
- Tasks TASK
- In the game
void TASK_PARACHUTE(Ped ped, BOOL giveParachuteItem, BOOL instant)- Hash
0xD2F1C53C97EE81AB