mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 05:13:02 +05:00
Merge pull request #10 from jeffthekillerz/master
This commit is contained in:
commit
53d03f2423
1 changed files with 3 additions and 1 deletions
|
@ -298,9 +298,11 @@ hook.Add("SetupMove", "Melee", function(ply, mv, cmd)
|
||||||
|
|
||||||
ParkourEvent("jumpslow", ply)
|
ParkourEvent("jumpslow", ply)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if ply:GetMeleeDelay() < CurTime() and ply:GetMelee() ~= 0 then
|
||||||
ply:SetMeleeTime(0)
|
ply:SetMeleeTime(0)
|
||||||
ply:SetMelee(0)
|
ply:SetMelee(0)
|
||||||
end
|
end
|
||||||
|
|
||||||
if KeyMelee(ply, mv) and ply:GetMeleeDelay() < CurTime() and ply:GetMeleeTime() == 0 and not ply:GetCrouchJump() and not ply:GetJumpTurn() and ply:GetClimbing() == 0 and ply:GetMantle() == 0 then
|
if KeyMelee(ply, mv) and ply:GetMeleeDelay() < CurTime() and ply:GetMeleeTime() == 0 and not ply:GetCrouchJump() and not ply:GetJumpTurn() and ply:GetClimbing() == 0 and ply:GetMantle() == 0 then
|
||||||
|
|
Loading…
Reference in a new issue