Author Topic: Is there a function that gets a client's default FOV?  (Read 542 times)

I have a few weapon add-ons that change your FOV when you right-click to use iron sights.  When you click again to get out of iron sights, they set your FOV to 90.

My default FOV is 120.  So setting it to 90 is annoying.

I want to fix the guns so they set just your FOV back to what it was.

Is there a default function to get someone's FOV?  Or- is the lack of such a function the reason why the guns just set it to 90.

Use %client.getControlCameraFOV(); from the server or $cameraFOV from the client.

this function used to not exist so gunmakers defaulted to 90, fyi