The Lab
CAMERA native

SET_CAM_FOV

returns void2 paramsbuild 1207

Sets the field of view of cam to fieldOfView degrees.

Signature

C
void SET_CAM_FOV(Cam cam, float fieldOfView); // 0x27666E5988D9D429 b1207

Parameters

#NameType
1camCam
2fieldOfViewfloat

Facts

Facts about SET_CAM_FOV
Name
SET_CAM_FOV
Hash
0x27666E5988D9D429
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x27666E5988D9D429, -- SET_CAM_FOV
  0, -- Cam cam
  0.0 -- float fieldOfView
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x27666E5988D9D429", // SET_CAM_FOV
  0, // Cam cam
  0.0 // float fieldOfView
);
C#
Function.Call((Hash)0x27666E5988D9D429, // SET_CAM_FOV
  0, // Cam cam
  0.0f // float fieldOfView
);
All CAMERA natives

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