PedClient

getNumPedHairTints

GET_NUM_PED_HAIR_TINTS0xE5C0CF872C2AD150

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

SignatureJavaScript
getNumPedHairTints(): number
SignatureLua
getNumPedHairTints(): integer

Usage

JavaScript
const result = getNumPedHairTints();
Lua
local result = getNumPedHairTints()

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Ped PED
In the game
int GET_NUM_PED_HAIR_TINTS()
Hash
0xE5C0CF872C2AD150
Formerly
_GET_NUM_HAIR_COLORS

Open in the interactive natives reference