setCamFarDof
SET_CAM_FAR_DOF0xEDD91296CD01AEE0The GTA V native SET_CAM_FAR_DOF of the CAM namespace, as LS:MP client scripts call it: the global function setCamFarDof, in JavaScript and in Lua.
setCamFarDof(cam: Cam, farDOF: number): voidsetCamFarDof(cam: Cam, farDOF: number)Usage
JavaScript
setCamFarDof(cam, farDOF);Lua
setCamFarDof(cam, farDOF)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
farDOF | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Camera CAM
- In the game
void SET_CAM_FAR_DOF(Cam cam, float farDOF)- Hash
0xEDD91296CD01AEE0