Advertisement
Karltroid51

Recharger Pistol Regeneration Code

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