Skip to content
ASArcaneMP Scripting APIScripting reference
Type aliasServer APIGenerated

CosmeticOptions

CosmeticOptions = { gear: string; hides?: string[]; } | { hides?: string[]; meshes: CosmeticMesh[]; }

Defined in: shared.d.ts:505

What player.setCosmetic puts in a cosmetic slot: the look of a GearID, or 1-4 meshes.

{ gear: string; hides?: string[]; }

gear: string

The GearID whose look is worn, whatever slot that gear belongs to.

optional hides?: string[]

Other cosmetic slots that show nothing while this one is worn, at most 8.


{ hides?: string[]; meshes: CosmeticMesh[]; }

optional hides?: string[]

Other cosmetic slots that show nothing while this one is worn, at most 8.

meshes: CosmeticMesh[]