Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. function ENT:Use(activator, caller, usetype, value)
  2.     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
  3.     self.NextUse = CurTime() + bellDelay
  4.  
  5.     self:EmitSound(bellSound, 75, 100, bellVolume, CHAN_ITEM)
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement