PlayerClient1 output

getPlayerParachuteTintIndex

GET_PLAYER_PARACHUTE_TINT_INDEX0x75D3F7A1B0D9B145

The GTA V native GET_PLAYER_PARACHUTE_TINT_INDEX of the PLAYER namespace, as LS:MP client scripts call it: the global function getPlayerParachuteTintIndex, in JavaScript and in Lua.

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

Usage

JavaScript
const tintIndex = getPlayerParachuteTintIndex(player);
Lua
local tintIndex = getPlayerParachuteTintIndex(player)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger

Returns

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

#ValueTypeJavaScriptLuaDescription
1tintIndexintnumberintegeroutput

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_PARACHUTE_TINT_INDEX(Player player, int* tintIndex)
Hash
0x75D3F7A1B0D9B145

Open in the interactive natives reference