The Lab
CAMERA native

GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR

returns float0 paramsbuild 1207

Returns the current zoom factor of the first person aim camera.

Signature

C
float GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR(); // 0xB4132CA1B0EE1365 b1207

Parameters

This native takes no parameters.

Facts

Facts about GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR
Name
GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR
Hash
0xB4132CA1B0EE1365
Namespace
Returns
float
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xB4132CA1B0EE1365, -- GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xB4132CA1B0EE1365", // GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0xB4132CA1B0EE1365); // GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR
All CAMERA natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.