ITEM.Clothing
The clothing item base. Outfits which are swapped on use, with equip and remove emotes.
- SharedITEM:canDestroy(ply, amt) → boolean, string|nilSource ☍
-
canDestroyhook/override for this item base.Parameters
- plyPlayer
- amtnumber
Returns
- 1boolean
- 2string|nil
- SharedITEM:canDrop(ply, pos, amt) → boolean, string|nilSource ☍
-
canDrophook/override for this item base.Parameters
Returns
- 1boolean
- 2string|nil
- SharedITEM:canGive(ply, amt, to) → boolean, string|nilSource ☍
-
canGivehook/override for this item base.Parameters
Returns
- 1boolean
- 2string|nil
- SharedITEM:onDestroy(ply)Source ☍
-
onDestroyhook/override for this item base.Parameters
- plyPlayer
- SharedITEM:onDrop(ply, pos)Source ☍
-
onDrophook/override for this item base.Parameters
- SharedITEM:onGive(ply, amt, to)Source ☍
-
onGivehook/override for this item base.Parameters
- SharedITEM:onRemove(ply) → booleanSource ☍
-
onRemovehook/override for this item base.Parameters
- plyPlayer
Returns
- boolean
- SharedITEM:onUse(ply) → booleanSource ☍
-
onUsehook/override for this item base.Parameters
- plyPlayer
Returns
- boolean
- SharedITEM:postRemove(ply) → booleanSource ☍
-
postRemovehook/override for this item base.Parameters
- plyPlayer
Returns
- boolean
- SharedITEM:postUse(ply, old, new) → booleanSource ☍
-
postUsehook/override for this item base.Parameters
- plyPlayer
- oldstring?
- newstring?
Returns
- boolean
- SharedITEM:preRemove(ply) → booleanSource ☍
-
preRemovehook/override for this item base.Parameters
- plyPlayer
Returns
- boolean
- SharedITEM:preUse(ply, old) → booleanSource ☍
-
preUsehook/override for this item base.Parameters
- plyPlayer
- oldstring?
Returns
- boolean
- SharedITEM:SetEmotes(on, off) → ITEMSource ☍
-
Set on/off emotes.
Parameters
- onstringEquip Emote.
- offstringDequip Emote.
Returns
- SharedITEM:uponLoad()Source ☍
-
uponLoadhook/override for this item base.
- SharedITEM.nomembershipSource ☍
-
Whether the clothing is available without membership. Set by
SetNonMember. - SharedITEM.off_descSource ☍
- SharedITEM.off_descSource ☍
- SharedITEM.off_descSource ☍
- SharedITEM.on_descSource ☍
- SharedITEM.on_descSource ☍
- SharedITEM.on_descSource ☍
- SharedITEM.SetNonMemberSource ☍
-
Sets the clothing to not be membership.
- SharedITEM.storebgsSource ☍
-
Bodygroups applied to the store preview model.
- SharedITEM.togglemodelSource ☍
-
Alternate model this outfit toggles to when used again.