WEAPON:CanSecondaryAttack
Description
Helper function for checking for no ammo.
Returns
Example
As defined in weapon_base
function SWEP:CanSecondaryAttack()
if ( self:Clip2() <= 0 ) then
self:EmitSound( "Weapon_Pistol.Empty" )
self:SetNextSecondaryFire( CurTime() + 0.2 )
return false
end
return true
end