Point gun, holster, DON'T approach, it's instant
This commit is contained in:
parent
9a670bb074
commit
4ac46046e0
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue