The Lab
CAMERA native

SET_CAM_ACTIVE

returns void2 paramsbuild 1207

Activates or deactivates the script camera cam.

Signature

C
void SET_CAM_ACTIVE(Cam cam, BOOL active); // 0x87295BCA613800C8 b1207

Parameters

#NameType
1camCam
2activeBOOL

Facts

Facts about SET_CAM_ACTIVE
Name
SET_CAM_ACTIVE
Hash
0x87295BCA613800C8
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(0x87295BCA613800C8, -- SET_CAM_ACTIVE
  0, -- Cam cam
  false -- BOOL active
)
JavaScript
Citizen.invokeNative("0x87295BCA613800C8", // SET_CAM_ACTIVE
  0, // Cam cam
  false // BOOL active
);
C#
Function.Call((Hash)0x87295BCA613800C8, // SET_CAM_ACTIVE
  0, // Cam cam
  false // BOOL active
);
All CAMERA natives

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