PedClient3 outputs

getPedMakeupTintColor

GET_PED_MAKEUP_TINT_COLOR0x013E5CFC38CD5387

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

SignatureJavaScript
getPedMakeupTintColor(makeupColorIndex: number): [
  outR: number,
  outG: number,
  outB: number
]
SignatureLua
getPedMakeupTintColor(makeupColorIndex: integer): integer, integer, integer

Usage

JavaScript
const [outR, outG, outB] = getPedMakeupTintColor(makeupColorIndex);
Lua
local outR, outG, outB = getPedMakeupTintColor(makeupColorIndex)

Parameters

ParameterTypeJavaScriptLua
makeupColorIndexintnumberinteger

Returns

3 values, in this order: an array in JavaScript, multiple return values in Lua.

#ValueTypeJavaScriptLuaDescription
1outRintnumberintegeroutput
2outGintnumberintegeroutput
3outBintnumberintegeroutput

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Input: Makeup color index, value between 0 and 63 (inclusive).
Output: RGB values for the makeup color specified in the input.

This is used with the makeup color swatches scaleform.
Use getPedHairTintColor to get the hair colors.

Reference

Namespace
Ped PED
In the game
void GET_PED_MAKEUP_TINT_COLOR(int makeupColorIndex, int* outR, int* outG, int* outB)
Hash
0x013E5CFC38CD5387
Formerly
_GET_MAKEUP_RGB_COLOR _GET_PED_MAKEUP_RGB_COLOR

Open in the interactive natives reference