Skip to content

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.

GetPlayerLook(pid)
Parameter Type
pid number the player

table | nil - {body, head, hair, beard, gender}, nil when not connected

local look = GetPlayerLook(pid)
if look and look.beard == "m_beard_00" then SendClientMessage(pid, COLOR_WHITE, "Clean-shaven, I see.") end

SetPlayerLook · LookToString · the Looks and character creation group of the index