PlayerClient3 outputs

getPlayerParachuteSmokeTrailColor

GET_PLAYER_PARACHUTE_SMOKE_TRAIL_COLOR0xEF56DBABD3CD4887

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

SignatureJavaScript
getPlayerParachuteSmokeTrailColor(player: Player): [
  r: number,
  g: number,
  b: number
]
SignatureLua
getPlayerParachuteSmokeTrailColor(player: Player): integer, integer, integer

Usage

JavaScript
const [r, g, b] = getPlayerParachuteSmokeTrailColor(player);
Lua
local r, g, b = getPlayerParachuteSmokeTrailColor(player)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger

Returns

3 values, in this order: an array in JavaScript, multiple return values in Lua.

#ValueTypeJavaScriptLuaDescription
1rintnumberintegeroutput
2gintnumberintegeroutput
3bintnumberintegeroutput

Reference

Namespace
Player PLAYER
In the game
void GET_PLAYER_PARACHUTE_SMOKE_TRAIL_COLOR(Player player, int* r, int* g, int* b)
Hash
0xEF56DBABD3CD4887

Open in the interactive natives reference