Move this
This commit is contained in:
parent
3900f1087f
commit
89e037fcf5
|
@ -42,6 +42,9 @@ function SWEP:OnVarChanged( name, old, new )
|
||||||
end
|
end
|
||||||
|
|
||||||
function SWEP:PrimaryAttack()
|
function SWEP:PrimaryAttack()
|
||||||
|
if !self:B_Wep1() then
|
||||||
|
return
|
||||||
|
end
|
||||||
if self:GetDelay1() > CurTime() then
|
if self:GetDelay1() > CurTime() then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
@ -50,9 +53,6 @@ function SWEP:PrimaryAttack()
|
||||||
self:SetDelay1( CurTime() + 0.2 )
|
self:SetDelay1( CurTime() + 0.2 )
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if !self:B_Wep1() then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
if CLIENT then
|
if CLIENT then
|
||||||
AddCaption( "PISTOL", Color( 61, 61, 61 ), "[Pistol shot]", 0.1, 0.5 )
|
AddCaption( "PISTOL", Color( 61, 61, 61 ), "[Pistol shot]", 0.1, 0.5 )
|
||||||
|
|
Loading…
Reference in New Issue