Advertisement
Guest User

function

a guest
Jul 27th, 2015
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. function SWEP:CanPrimaryAttack()
  2.  
  3. if ( self.Weapon:Clip1() <= 0 ) then
  4.  
  5. self:EmitSound( "Weapon_Pistol.Empty" )
  6. self:SetNextPrimaryFire( CurTime() + 0.2 )
  7. self:Reload()
  8. return false
  9.  
  10. end
  11.  
  12. return true
  13.  
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement