getPlayerReserveParachuteTintIndex
GET_PLAYER_RESERVE_PARACHUTE_TINT_INDEX0xD5A016BC3C09CF40The GTA V native GET_PLAYER_RESERVE_PARACHUTE_TINT_INDEX of the PLAYER namespace, as LS:MP client scripts call it: the global function getPlayerReserveParachuteTintIndex, in JavaScript and in Lua.
getPlayerReserveParachuteTintIndex(player: Player): numbergetPlayerReserveParachuteTintIndex(player: Player): integerUsage
JavaScript
const index = getPlayerReserveParachuteTintIndex(player);Lua
local index = getPlayerReserveParachuteTintIndex(player)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
Returns
The output: the value of the call in JavaScript, the return value in Lua.
| # | Value | Type | JavaScript | Lua | Description |
|---|---|---|---|---|---|
| 1 | index | int | number | integer | output |
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Tints:
None = -1,
Rainbow = 0,
Red = 1,
SeasideStripes = 2,
WidowMaker = 3,
Patriot = 4,
Blue = 5,
Black = 6,
Hornet = 7,
AirFocce = 8,
Desert = 9,
Shadow = 10,
HighAltitude = 11,
Airbone = 12,
Sunrise = 13,Reference
- Namespace
- Player PLAYER
- In the game
void GET_PLAYER_RESERVE_PARACHUTE_TINT_INDEX(Player player, int* index)- Hash
0xD5A016BC3C09CF40