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