setPedHairTint
SET_PED_HAIR_TINT0x4CFFC65454C93A49The GTA V native SET_PED_HAIR_TINT of the PED namespace, as LS:MP client scripts call it: the global function setPedHairTint, in JavaScript and in Lua.
setPedHairTint(ped: Ped, colorID: number, highlightColorID: number): voidsetPedHairTint(ped: Ped, colorID: integer, highlightColorID: integer)Usage
JavaScript
setPedHairTint(ped, colorID, highlightColorID);Lua
setPedHairTint(ped, colorID, highlightColorID)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
colorID | int | number | integer |
highlightColorID | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_HAIR_TINT(Ped ped, int colorID, int highlightColorID)- Hash
0x4CFFC65454C93A49- Formerly
_SET_PED_HAIR_COLOR