TasksClient

taskParachute

TASK_PARACHUTE0xD2F1C53C97EE81AB

The 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.

SignatureJavaScript
taskParachute(ped: Ped, giveParachuteItem: boolean, instant: boolean): void
SignatureLua
taskParachute(ped: Ped, giveParachuteItem: boolean, instant: boolean)

Usage

JavaScript
taskParachute(ped, giveParachuteItem, instant);
Lua
taskParachute(ped, giveParachuteItem, instant)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
giveParachuteItemBOOLbooleanboolean
instantBOOLbooleanboolean

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

Open in the interactive natives reference