getPedMakeupTintColor
GET_PED_MAKEUP_TINT_COLOR0x013E5CFC38CD5387The 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.
getPedMakeupTintColor(makeupColorIndex: number): [
outR: number,
outG: number,
outB: number
]getPedMakeupTintColor(makeupColorIndex: integer): integer, integer, integerUsage
JavaScript
const [outR, outG, outB] = getPedMakeupTintColor(makeupColorIndex);Lua
local outR, outG, outB = getPedMakeupTintColor(makeupColorIndex)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
makeupColorIndex | int | number | integer |
Returns
3 values, in this order: an array in JavaScript, multiple return values in Lua.
| # | Value | Type | JavaScript | Lua | Description |
|---|---|---|---|---|---|
| 1 | outR | int | number | integer | output |
| 2 | outG | int | number | integer | output |
| 3 | outB | int | number | integer | output |
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