getCamNearDof
GET_CAM_NEAR_DOF0xC2612D223D915A1CThe GTA V native GET_CAM_NEAR_DOF of the CAM namespace, as LS:MP client scripts call it: the global function getCamNearDof, in JavaScript and in Lua.
getCamNearDof(cam: Cam): numbergetCamNearDof(cam: Cam): numberUsage
JavaScript
const value = getCamNearDof(cam);Lua
local value = getCamNearDof(cam)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
Returns
float JavaScript number, Lua numberReference
- Namespace
- Camera CAM
- In the game
float GET_CAM_NEAR_DOF(Cam cam)- Hash
0xC2612D223D915A1C- Introduced
- Game build 2699 legacy numbering
- Formerly
_GET_CAM_NEAR_DOF