GetPlayerLook
A player’s look.
The parts the player’s body wears as the mode (or a look the mode took, OnPlayerLookChange) set them; a part the
soul decides is absent from the table - {} when the player wears no look of the mode’s. gender is "female" on
a woman’s look, absent on a man’s.
Syntax
Section titled “Syntax”GetPlayerLook(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”table | nil - {body, head, hair, beard, gender}, nil when not connected
Example
Section titled “Example”local look = GetPlayerLook(pid)if look and look.beard == "m_beard_00" then SendClientMessage(pid, COLOR_WHITE, "Clean-shaven, I see.") endSee also
Section titled “See also”SetPlayerLook · LookToString · the Looks and character creation group of the index
