The Lab
CAMERA native

RENDER_SCRIPT_CAMS

returns void6 paramsbuild 1207

Switches rendering to the active script camera when render is true, or back to the gameplay camera when false. ease and easeTime control the blend.

Signature

C
void RENDER_SCRIPT_CAMS(BOOL render, BOOL ease, int easeTime, BOOL p3, BOOL p4, int renderingFlags); // 0x33281167E4942E4F b1207

Parameters

#NameType
1renderBOOL
2easeBOOL
3easeTimeint
4p3BOOL
5p4BOOL
6renderingFlagsint

Facts

Facts about RENDER_SCRIPT_CAMS
Name
RENDER_SCRIPT_CAMS
Hash
0x33281167E4942E4F
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(0x33281167E4942E4F, -- RENDER_SCRIPT_CAMS
  false, -- BOOL render
  false, -- BOOL ease
  0, -- int easeTime
  false, -- BOOL p3
  false, -- BOOL p4
  0 -- int renderingFlags
)
JavaScript
Citizen.invokeNative("0x33281167E4942E4F", // RENDER_SCRIPT_CAMS
  false, // BOOL render
  false, // BOOL ease
  0, // int easeTime
  false, // BOOL p3
  false, // BOOL p4
  0 // int renderingFlags
);
C#
Function.Call((Hash)0x33281167E4942E4F, // RENDER_SCRIPT_CAMS
  false, // BOOL render
  false, // BOOL ease
  0, // int easeTime
  false, // BOOL p3
  false, // BOOL p4
  0 // int renderingFlags
);
All CAMERA natives

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