https://wiki.garrysmod.com/page/GM/CalcView
Hook CalcView, tbl.fov = custom fov, return tbl.
I have zero lua coding knowledge and was wondering if someone could create a simple FOV script for me? It would be much appreciated.
https://wiki.garrysmod.com/page/GM/CalcView
Hook CalcView, tbl.fov = custom fov, return tbl.
Luvs2Cheat (03-13-2017)
--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)
Luvs2Cheat (03-21-2017)
I'm guessing you got helped so I'm going to close this
/Closed /moved.