Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SWEP.CanDoTimer = true
  2.  
  3. function SWEP:Think()
  4.  
  5.     if (self.CanDoTimer == true && self:Clip1() < 20) then
  6.         self.CanDoTimer = false
  7.         timer.Simple( 1, function() self:SetClip1( self:Clip1()+1 ) self.CanDoTimer = true  end)
  8.     end
  9.  
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement