getPedParachuteState
GET_PED_PARACHUTE_STATE0x79CFD9827CC979B6The GTA V native GET_PED_PARACHUTE_STATE of the PED namespace, as LS:MP client scripts call it: the global function getPedParachuteState, in JavaScript and in Lua.
getPedParachuteState(ped: Ped): numbergetPedParachuteState(ped: Ped): integerUsage
JavaScript
const result = getPedParachuteState(ped);Lua
local result = getPedParachuteState(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns:
-1: Normal
0: Wearing parachute on back
1: Parachute opening
2: Parachute open
3: Falling to doom (e.g. after exiting parachute)
Normal means no parachute?
Reference
- Namespace
- Ped PED
- In the game
int GET_PED_PARACHUTE_STATE(Ped ped)- Hash
0x79CFD9827CC979B6