getPlayerParachuteSmokeTrailColor
GET_PLAYER_PARACHUTE_SMOKE_TRAIL_COLOR0xEF56DBABD3CD4887The 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.
getPlayerParachuteSmokeTrailColor(player: Player): [
r: number,
g: number,
b: number
]getPlayerParachuteSmokeTrailColor(player: Player): integer, integer, integerUsage
JavaScript
const [r, g, b] = getPlayerParachuteSmokeTrailColor(player);Lua
local r, g, b = getPlayerParachuteSmokeTrailColor(player)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
Returns
3 values, in this order: an array in JavaScript, multiple return values in Lua.
| # | Value | Type | JavaScript | Lua | Description |
|---|---|---|---|---|---|
| 1 | r | int | number | integer | output |
| 2 | g | int | number | integer | output |
| 3 | b | int | number | integer | output |
Reference
- Namespace
- Player PLAYER
- In the game
void GET_PLAYER_PARACHUTE_SMOKE_TRAIL_COLOR(Player player, int* r, int* g, int* b)- Hash
0xEF56DBABD3CD4887