Stunt only one mode for now

This commit is contained in:
Fesiug 2024-01-15 01:43:58 -05:00
parent af48ebde81
commit 2736a1f2f0
1 changed files with 2 additions and 10 deletions

View File

@ -183,16 +183,8 @@ hook.Add( "Move", "Benny_Move", function( ply, mv )
if mv:KeyDown( IN_ALT1 ) then
local dig = Vector( mv:GetForwardSpeed()+0.01, mv:GetSideSpeed(), 0 ):GetNormalized()
local dug = Angle( 0, ply:EyeAngles().y, 0 )
local upspeed = 120
local movespeed = 230
local pitch = ply:EyeAngles().p
if pitch < -12 then
upspeed = 250
movespeed = 320
elseif pitch < 12 then
upspeed = 160
movespeed = 260
end
local upspeed = 180
local movespeed = 250
dig:Mul( movespeed )
if !ply:OnGround() then upspeed = mv:GetVelocity().z end
ply:SetGroundEntity( NULL )