Clothing — Server

IsMale

Returns whether a player’s character is male.

local male = Bridge.Clothing.IsMale(src)
-- Returns: boolean
ParameterTypeDescription
srcnumberPlayer server ID

GetAppearance

Returns a player’s appearance data.

local appearance = Bridge.Clothing.GetAppearance(src)
-- Returns: table
ParameterTypeDescription
srcnumberPlayer server ID

SetAppearance

Applies appearance data to a player.

Bridge.Clothing.SetAppearance(src, appearance)
ParameterTypeDescription
srcnumberPlayer server ID
appearancetableAppearance data table

SetAppearanceExt

Sets individual appearance properties on a player. Used for partial updates.

Bridge.Clothing.SetAppearanceExt(src, key, value)
ParameterTypeDescription
srcnumberPlayer server ID
keystringAppearance property key
valueanyValue to set

RestoreAppearance

Restores a player’s saved appearance from the database.

Bridge.Clothing.RestoreAppearance(src)
ParameterTypeDescription
srcnumberPlayer server ID