RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _SET_PED_HEAD_OVERLAY_COLOR

_SET_PED_HEAD_OVERLAY_COLOR

``` Used for freemode (online) characters. Called after SET_PED_HEAD_OVERLAY(). ``` **Note:** You may need to call [`SetPedHeadBlendData`](#\_0x9414E18B9434C2FE) prior to calling this native in order for it to work. **This is the server-side RPC native equivalent of the client native [\_SET_PED_HEAD_OVERLAY_COLOR](?\_0x497BF74A7B9CB952).**

CFX

Signature

lua
SetPedHeadOverlayColor(PlayerPedId(), 0, 0, 0, 0)
-- returns void

Parameters

NameTypeDescription
PedThe ped entity
intAn integer representing the overlay id
int1 for eyebrows, beards, makeup, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.
intAn integer representing the primary color id
intAn integer representing the secondary color id

Usage

lua
SetPedHeadOverlayColor(PlayerPedId(), 0, 0, 0, 0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details