From 695d62e573afbd47cc1c8f4b5f980018fd49bedd Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" <48434875+JonnyBro@users.noreply.github.com> Date: Thu, 19 Oct 2023 08:11:16 +0500 Subject: [PATCH] Disable "handwall" anims I need to make implement this right --- .../beatrun/entities/weapons/runnerhands/shared.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/beatrun/gamemodes/beatrun/entities/weapons/runnerhands/shared.lua b/beatrun/gamemodes/beatrun/entities/weapons/runnerhands/shared.lua index 0ebf6fc..78e5cb1 100644 --- a/beatrun/gamemodes/beatrun/entities/weapons/runnerhands/shared.lua +++ b/beatrun/gamemodes/beatrun/entities/weapons/runnerhands/shared.lua @@ -146,7 +146,7 @@ function SWEP:Think() local injump = curseq == 13 or curseq == 14 or curseq == 17 or curseq == -1 or curseq == 1 infall = curseq == 19 - -- what a piece of shit, send help + --[[ what a piece of shit, send help if vel:Length() == 0 and util.QuickTrace(ply:GetShootPos(), ply:GetAimVector() * 30, ply).Hit and ply:GetMoveType() ~= MOVETYPE_NOCLIP and not ply:Crouching() and ply:WaterLevel() == 0 and ply:GetWallrun() == 0 then if (math.floor(ply:LocalEyeAngles().y) <= 35 and math.floor(ply:LocalEyeAngles().y) >= 5) or (math.floor(ply:LocalEyeAngles().y) <= 125 and math.floor(ply:LocalEyeAngles().y) >= 95) or (math.floor(ply:LocalEyeAngles().y) <= -55 and math.floor(ply:LocalEyeAngles().y) >= -85) or (math.floor(ply:LocalEyeAngles().y) <= -145 and math.floor(ply:LocalEyeAngles().y) >= -175) then if CLIENT then @@ -174,6 +174,7 @@ function SWEP:Think() end end end + --]] self:SetSideStep((curseq == 15 or curseq == 16) and GetConVar("Beatrun_SideStep"):GetBool()) @@ -522,4 +523,4 @@ function SWEP:PrimaryAttack() end function SWEP:SecondaryAttack() -end \ No newline at end of file +end