PedClient

isPedHairTintForBarber

IS_PED_HAIR_TINT_FOR_BARBER0xE0D36E5D9E99CC21

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

SignatureJavaScript
isPedHairTintForBarber(colorID: number): boolean
SignatureLua
isPedHairTintForBarber(colorID: integer): boolean

Usage

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

Parameters

ParameterTypeJavaScriptLua
colorIDintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_HAIR_TINT_FOR_BARBER(int colorID)
Hash
0xE0D36E5D9E99CC21
Formerly
_IS_PED_HAIR_COLOR_VALID _IS_PED_HAIR_VALID_BARBER_COLOR

Open in the interactive natives reference