Advertisement
Guest User

Untitled

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