PedClient

setPedHeadOverlayTint

SET_PED_HEAD_OVERLAY_TINT0x497BF74A7B9CB952

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

SignatureJavaScript
setPedHeadOverlayTint(
  ped: Ped,
  overlayID: number,
  colorType: number,
  colorID: number,
  secondColorID: number
): void
SignatureLua
setPedHeadOverlayTint(
  ped: Ped,
  overlayID: integer,
  colorType: integer,
  colorID: integer,
  secondColorID: integer
)

Usage

JavaScript
setPedHeadOverlayTint(ped, overlayID, colorType, colorID, secondColorID);
Lua
setPedHeadOverlayTint(ped, overlayID, colorType, colorID, secondColorID)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
overlayIDintnumberinteger
colorTypeintnumberinteger
colorIDintnumberinteger
secondColorIDintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

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

ColorType is 1 for eyebrows, beards, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.

Called after setPedHeadOverlay().

Reference

Namespace
Ped PED
In the game
void SET_PED_HEAD_OVERLAY_TINT(Ped ped, int overlayID, int colorType, int colorID, int secondColorID)
Hash
0x497BF74A7B9CB952
Formerly
_SET_PED_HEAD_OVERLAY_COLOR

Open in the interactive natives reference