View difference between Paste ID: xqKT6F0C and cAs0hc83
SHOW: | | - or go back to the newest paste.
1
function drawLocalPlayer()
2
	return true
3
end
4
hook.Add("ShouldDrawLocalPlayer", "drawLocalPlayer", drawLocalPLayer)
5
6
function CalcView(ply, pos, angles, fov)
7
	local view={}
8
	view.angles=Angle(90, angles.yaw, angles.roll)
9
	view.origin=pos-(view.angles:Forward()*200)
10
	view.fox=fov
11
	
12
	return view
13
end
14
hook.Add("CalcView", "overHead", CalcView)