Point gun, holster, DON'T approach, it's instant

This commit is contained in:
Fesiug 2023-11-01 18:04:34 -04:00
parent 9a670bb074
commit 4ac46046e0
1 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,8 @@ hook.Add( "CreateMove", "CamFuck", function( cmd )
end end
lastmoveangle_lerp = math.ApproachAngle( lastmoveangle_lerp or lastmoveangle, lastmoveangle, FrameTime() * 360 ) lastmoveangle_lerp = math.ApproachAngle( lastmoveangle_lerp or lastmoveangle, lastmoveangle, FrameTime() * 360 )
cmd:SetViewAngles( Angle( ang.p, lastmoveangle_lerp, 0 ) ) cmd:SetViewAngles( Angle( ang.p, lastmoveangle_lerp, 0 ) )
else
lastmoveangle_lerp = lastmoveangle
end end
local fixang = Angle() local fixang = Angle()