Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function drawLocalPlayer()
- return true
- end
- hook.Add("ShouldDrawLocalPlayer", "drawLocalPlayer", drawLocalPLayer)
- function CalcView(ply, pos, angles, fov)
- local view={}
- view.angles=Angle(90, angles.yaw, angles.roll)
- view.origin=pos-(view.angles:Forward()*200)
- view.fox=fov
- return view
- end
- hook.Add("CalcView", "overHead", CalcView)
Advertisement
Add Comment
Please, Sign In to add comment