Kartik Scripts

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

ParameterTypeOptionalDescription
pednumberYesTarget ped handle. Defaults to player ped.

📤 Returns

TypeDescription
table{ style = number, texture = number, color = number, highlight = number }.

On this page