SET_PED_HAIR_TINT
Sets the tint index for the hair on the specified ped.
Hash
0xA23FE32CRuntime name
SetPedHairTintNamespaceCFX
SideServer
NameOfficial
Docs
Also known as
_SET_PED_HAIR_COLORSignature
void SET_PED_HAIR_TINT(Ped ped, int colorID, int highlightColorID);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | The Ped whose hair tint is to be set. |
colorID | int | The tint index for the primary hair color. |
highlightColorID | int | The tint index for the hair highlight color. |
Returns void
Description
Sets the tint index for the hair on the specified ped.
NativeDB Introduced: v323This is the server-side RPC native equivalent of the client native SET_PED_HAIR_TINT.
Usage
SetPedHairTint(ped, colorID, highlightColorID)
-- always works, by hash
Citizen.InvokeNative(0xa23fe32c, ped, colorID, highlightColorID)JavaScript and C#
SetPedHairTint(ped, colorID, highlightColorID);
// by hash
Citizen.invokeNative('0xa23fe32c', ped, colorID, highlightColorID);Function.Call((Hash)0xa23fe32c, ped, colorID, highlightColorID);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.