CameraClient

getCamFov

GET_CAM_FOV0xC3330A45CCCDB26A

The GTA V native GET_CAM_FOV of the CAM namespace, as LS:MP client scripts call it: the global function getCamFov, in JavaScript and in Lua.

SignatureJavaScript
getCamFov(cam: Cam): number
SignatureLua
getCamFov(cam: Cam): number

Usage

JavaScript
const value = getCamFov(cam);
Lua
local value = getCamFov(cam)

Parameters

ParameterTypeJavaScriptLua
camCamnumberinteger

Returns

float JavaScript number, Lua number

Reference

Namespace
Camera CAM
In the game
float GET_CAM_FOV(Cam cam)
Hash
0xC3330A45CCCDB26A

Open in the interactive natives reference