Garry's Mod Wiki

Entity:SkinCount

  number Entity:SkinCount()

Description

Returns the amount of skins the entity has.

To set the entity's skin, use Entity:SetSkin. To retrieve the total number of skins without an entity, see util.GetModelInfo.

Returns

1 number
The amount of skins the entity's model has.