setFirstPersonAimCamZoomFactor
SET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR0x70894BD0915C5BCAThe 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.
setFirstPersonAimCamZoomFactor(zoomFactor: number): voidsetFirstPersonAimCamZoomFactor(zoomFactor: number)Usage
JavaScript
setFirstPersonAimCamZoomFactor(zoomFactor);Lua
setFirstPersonAimCamZoomFactor(zoomFactor)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
zoomFactor | float | number | number |
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