PedClient

getDefaultSecondaryTintForBarber

GET_DEFAULT_SECONDARY_TINT_FOR_BARBER0xAAA6A3698A69E048

The GTA V native GET_DEFAULT_SECONDARY_TINT_FOR_BARBER of the PED namespace, as LS:MP client scripts call it: the global function getDefaultSecondaryTintForBarber, in JavaScript and in Lua.

SignatureJavaScript
getDefaultSecondaryTintForBarber(colorID: number): number
SignatureLua
getDefaultSecondaryTintForBarber(colorID: integer): integer

Usage

JavaScript
const result = getDefaultSecondaryTintForBarber(colorID);
Lua
local result = getDefaultSecondaryTintForBarber(colorID)

Parameters

ParameterTypeJavaScriptLua
colorIDintnumberinteger

Returns

int JavaScript number, Lua integer

Reference

Namespace
Ped PED
In the game
int GET_DEFAULT_SECONDARY_TINT_FOR_BARBER(int colorID)
Hash
0xAAA6A3698A69E048
Formerly
_GET_DEFAULT_SECONDARY_HAIR_BARBER_COLOR

Open in the interactive natives reference