CameraClient

setFirstPersonAimCamZoomFactor

SET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR0x70894BD0915C5BCA

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

SignatureJavaScript
setFirstPersonAimCamZoomFactor(zoomFactor: number): void
SignatureLua
setFirstPersonAimCamZoomFactor(zoomFactor: number)

Usage

JavaScript
setFirstPersonAimCamZoomFactor(zoomFactor);
Lua
setFirstPersonAimCamZoomFactor(zoomFactor)

Parameters

ParameterTypeJavaScriptLua
zoomFactorfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void SET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR(float zoomFactor)
Hash
0x70894BD0915C5BCA

Open in the interactive natives reference