PedClient

getDefaultSecondaryTintForCreator

GET_DEFAULT_SECONDARY_TINT_FOR_CREATOR0xEA9960D07DADCF10

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

SignatureJavaScript
getDefaultSecondaryTintForCreator(colorId: number): number
SignatureLua
getDefaultSecondaryTintForCreator(colorId: integer): integer

Usage

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

Parameters

ParameterTypeJavaScriptLua
colorIdintnumberinteger

Returns

int JavaScript number, Lua integer

Reference

Namespace
Ped PED
In the game
int GET_DEFAULT_SECONDARY_TINT_FOR_CREATOR(int colorId)
Hash
0xEA9960D07DADCF10
Formerly
_GET_DEFAULT_SECONDARY_HAIR_CREATOR_COLOR

Open in the interactive natives reference