Merge pull request #10 from jeffthekillerz/master

This commit is contained in:
Nikita 2023-06-05 00:53:30 +05:00 committed by GitHub
commit 53d03f2423
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -298,9 +298,11 @@ hook.Add("SetupMove", "Melee", function(ply, mv, cmd)
ParkourEvent("jumpslow", ply)
end
end
if ply:GetMeleeDelay() < CurTime() and ply:GetMelee() ~= 0 then
ply:SetMeleeTime(0)
ply:SetMelee(0)
ply:SetMelee(0)
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