RedM Natives

GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR

Hash0xB4132CA1B0EE1365
Runtime nameGetFirstPersonAimCamZoomFactor
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x7EC52CC40597D170

Signature

float GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR();

Returns float

Usage

Lua
local retval = GetFirstPersonAimCamZoomFactor()

-- always works, by hash
local retval = Citizen.InvokeNative(0xB4132CA1B0EE1365, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetFirstPersonAimCamZoomFactor();

// by hash
const retval = Citizen.invokeNative('0xB4132CA1B0EE1365', Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0xB4132CA1B0EE1365);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.