taskRappelFromHeli
TASK_RAPPEL_FROM_HELI0x09693B0312F91649The GTA V native TASK_RAPPEL_FROM_HELI of the TASK namespace, as LS:MP client scripts call it: the global function taskRappelFromHeli, in JavaScript and in Lua.
taskRappelFromHeli(ped: Ped, minHeightAboveGround: number): voidtaskRappelFromHeli(ped: Ped, minHeightAboveGround: number)Usage
JavaScript
taskRappelFromHeli(ped, minHeightAboveGround);Lua
taskRappelFromHeli(ped, minHeightAboveGround)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
ped | Ped | number | integer | |
minHeightAboveGround | float | number | number | the minimum height above ground the heli must be at before the ped can start rappelling |
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.
Only appears twice in the scripts.
taskRappelFromHeli(playerPedId(), 10.0f);
taskRappelFromHeli(a_0, 10.0f);Reference
- Namespace
- Tasks TASK
- In the game
void TASK_RAPPEL_FROM_HELI(Ped ped, float minHeightAboveGround)- Hash
0x09693B0312F91649