ITEM.WeaponMod
The weapon modification item base.
- SharedITEM:canGive(ply, amt, to) → booleanSource ☍
-
canGivehook/override for this item base.Parameters
Returns
- boolean
- SharedITEM:canUse(ply) → booleanSource ☍
-
canUsehook/override for this item base.Parameters
- plyPlayer
Returns
- boolean
- 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:onUse(ply) → booleanSource ☍
-
onUsehook/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:preUse(ply, old) → booleanSource ☍
-
preUsehook/override for this item base.Parameters
- plyPlayer
- oldstring?
Returns
- boolean
- SharedITEM.SetAttachmentsSource ☍
-
Sets the attachments that this item gives.