getPedHeadShape
Shared
Tells how far a feature of a ped's face was adjusted.
float|false getPedHeadShape(ped ped, string|int feature)
Parameters
| Name | Type | Description |
|---|---|---|
| ped | ped | The ped or player. |
| feature | string|int | The name of a feature the head's <Features> declares, or its index in that list. |
Returns
The scale, from -1 to 1 (0 if the feature was not adjusted), or false if it is not a ped. Raises an error if the feature does not exist.
Example
local width = getPedHeadShape(localPlayer, "nose_width")
outputDebugString("nose width: " .. width)