PlayerClient1 output

getPlayerReserveParachuteTintIndex

GET_PLAYER_RESERVE_PARACHUTE_TINT_INDEX0xD5A016BC3C09CF40

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

SignatureJavaScript
getPlayerReserveParachuteTintIndex(player: Player): number
SignatureLua
getPlayerReserveParachuteTintIndex(player: Player): integer

Usage

JavaScript
const index = getPlayerReserveParachuteTintIndex(player);
Lua
local index = getPlayerReserveParachuteTintIndex(player)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger

Returns

The output: the value of the call in JavaScript, the return value in Lua.

#ValueTypeJavaScriptLuaDescription
1indexintnumberintegeroutput

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

Open in the interactive natives reference