Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ENT:Use(activator, caller, usetype, value)
- if self.NextUse > CurTime() then if caller:IsPlayer() then caller:PrintMessage(HUD_PRINTTALK, Format("Bell ready in %d seconds", self.NextUse - CurTime()) ) end return end
- self.NextUse = CurTime() + bellDelay
- self:EmitSound(bellSound, 75, 100, bellVolume, CHAN_ITEM)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement