getCamFarDof
GET_CAM_FAR_DOF0x255F8DAFD540D397The GTA V native GET_CAM_FAR_DOF of the CAM namespace, as LS:MP client scripts call it: the global function getCamFarDof, in JavaScript and in Lua.
getCamFarDof(cam: Cam): numbergetCamFarDof(cam: Cam): numberUsage
JavaScript
const value = getCamFarDof(cam);Lua
local value = getCamFarDof(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_FAR_DOF(Cam cam)- Hash
0x255F8DAFD540D397