Lua:
local fov_edit_var = CreateClientConVar( "edit_fov", 90, true, false )
hook.Add("CalcView", "fov_editable_hook", function(ply, origin, angles, fov, znear, zfar )
tab = {
origin = origin,
angles = angles,
fov = fov_edit_var:GetInt(),
znear = znear,
zfar = zfar
}
return tab
end)