Solved{REQUEST} Simple FOV script

Posts 14 of 4 · Page 1 of 1
{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)
I'm guessing you got helped so I'm going to close this

/Closed /moved.
Posts 14 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?