_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 voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | The ped entity | |
| int | An integer representing the overlay id | |
| int | 1 for eyebrows, beards, makeup, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases. | |
| int | An integer representing the primary color id | |
| int | An 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
