PedClient

isPedHairTintForCreator

IS_PED_HAIR_TINT_FOR_CREATOR0xED6D8E27A43B8CDE

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

SignatureJavaScript
isPedHairTintForCreator(colorId: number): boolean
SignatureLua
isPedHairTintForCreator(colorId: integer): boolean

Usage

JavaScript
const result = isPedHairTintForCreator(colorId);
Lua
local result = isPedHairTintForCreator(colorId)

Parameters

ParameterTypeJavaScriptLua
colorIdintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_HAIR_TINT_FOR_CREATOR(int colorId)
Hash
0xED6D8E27A43B8CDE
Formerly
_IS_PED_HAIR_COLOR_VALID_2 _IS_PED_HAIR_VALID_CREATOR_COLOR

Open in the interactive natives reference