CameraClient

getFirstPersonAimCamZoomFactor

GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR0x7EC52CC40597D170

The GTA V native GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR of the CAM namespace, as LS:MP client scripts call it: the global function getFirstPersonAimCamZoomFactor, in JavaScript and in Lua.

SignatureJavaScript
getFirstPersonAimCamZoomFactor(): number
SignatureLua
getFirstPersonAimCamZoomFactor(): number

Usage

JavaScript
const value = getFirstPersonAimCamZoomFactor();
Lua
local value = getFirstPersonAimCamZoomFactor()

Parameters

None.

Returns

float JavaScript number, Lua number

Reference

Namespace
Camera CAM
In the game
float GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR()
Hash
0x7EC52CC40597D170
Formerly
_GET_GAMEPLAY_CAM_ZOOM

Open in the interactive natives reference