From e24a9b7ba46190b2422c0655572439c00bdbd308 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Mon, 16 Oct 2023 18:14:09 +0500 Subject: [PATCH] yay --- beatrun/gamemodes/beatrun/gamemode/sh/FreerunSysAll.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/FreerunSysAll.lua b/beatrun/gamemodes/beatrun/gamemode/sh/FreerunSysAll.lua index 41df77a..9aecb33 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/FreerunSysAll.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/FreerunSysAll.lua @@ -308,7 +308,7 @@ hook.Add("SetupMove", "MESetupMove", function(ply, mv, cmd) activewep:SendWeaponAnim(ACT_TURNLEFT45) activewep:SetSideStep(true) - mv:SetVelocity(cmd:GetViewAngles():Right() * -600) + mv:SetVelocity(cmd:GetViewAngles():Right() * -(speed_limit:GetInt() * 1.8)) ply:ViewPunch(Angle(-3, 0, -4.5)) @@ -323,7 +323,7 @@ hook.Add("SetupMove", "MESetupMove", function(ply, mv, cmd) activewep:SendWeaponAnim(ACT_TURNRIGHT45) activewep:SetSideStep(true) - mv:SetVelocity(cmd:GetViewAngles():Right() * 600) + mv:SetVelocity(cmd:GetViewAngles():Right() * (speed_limit:GetInt() * 1.8)) ply:ViewPunch(Angle(-3, 0, 4.5)) @@ -339,7 +339,7 @@ hook.Add("SetupMove", "MESetupMove", function(ply, mv, cmd) local forwarddelta = activewep.SideStepDir:Dot(ang:Forward()) if forwarddelta > 0.35 then - ply:SetMEMoveLimit(250) + ply:SetMEMoveLimit(speed_limit:GetInt()) end if forwarddelta < 0.65 then