The Lab
CAMERA native

GET_RENDERING_CAM

returns Cam0 paramsbuild 1207

Returns the script camera currently being rendered, or -1 if the gameplay camera is in use.

Signature

C
Cam GET_RENDERING_CAM(); // 0x03A8931ECC8015D6 b1207

Parameters

This native takes no parameters.

Facts

Facts about GET_RENDERING_CAM
Name
GET_RENDERING_CAM
Hash
0x03A8931ECC8015D6
Namespace
Returns
Cam
Game build
1207

Examples

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

Lua
local cam = Citizen.InvokeNative(0x03A8931ECC8015D6, -- GET_RENDERING_CAM
  Citizen.ResultAsInteger()
)
print(cam)
JavaScript
const cam = Citizen.invokeNative("0x03A8931ECC8015D6", // GET_RENDERING_CAM
  Citizen.resultAsInteger()
);
console.log(cam)
C#
int cam = Function.Call<int>((Hash)0x03A8931ECC8015D6); // GET_RENDERING_CAM
All CAMERA natives

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