{REQUEST} Simple FOV script
I have zero lua coding knowledge and was wondering if someone could create a simple FOV script for me? It would be much appreciated.
--FOV
CreateClientConVar("cheat_fov", "110", true, false)
function CalcView(ply, pos, angles, fov)
local view = {}
view.origin = pos
view.angles = angles
view.fov = GetConVarNumber("cheat_fov")
return view
end
hook.Add("CalcView", tostring(math.random(999, 9999999)), CalcView)