setCamFov
SET_CAM_FOV0xB13C14F66A00D047The GTA V native SET_CAM_FOV of the CAM namespace, as LS:MP client scripts call it: the global function setCamFov, in JavaScript and in Lua.
setCamFov(cam: Cam, fieldOfView: number): voidsetCamFov(cam: Cam, fieldOfView: number)Usage
JavaScript
setCamFov(cam, fieldOfView);Lua
setCamFov(cam, fieldOfView)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
fieldOfView | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Sets the field of view of the cam.
Min: 1.0f
Max: 130.0f
Reference
- Namespace
- Camera CAM
- In the game
void SET_CAM_FOV(Cam cam, float fieldOfView)- Hash
0xB13C14F66A00D047