getPedHair
Retrieves hair drawable style index, texture index, primary hair color index, and highlight hair color index for a ped.
💡 Syntax
local hair = exports['kartik-clothing']:getPedHair(ped)📥 Parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
ped | number | Yes | Target ped handle. Defaults to player ped. |
📤 Returns
| Type | Description |
|---|---|
table | { style = number, texture = number, color = number, highlight = number }. |