RENDER_SCRIPT_CAMS
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
void RENDER_SCRIPT_CAMS(BOOL render, BOOL ease, int easeTime, BOOL p3, BOOL p4, int renderingFlags); // 0x33281167E4942E4F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | render | BOOL |
| 2 | ease | BOOL |
| 3 | easeTime | int |
| 4 | p3 | BOOL |
| 5 | p4 | BOOL |
| 6 | renderingFlags | int |
Facts
| 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.
Citizen.InvokeNative(0x33281167E4942E4F, -- RENDER_SCRIPT_CAMS
false, -- BOOL render
false, -- BOOL ease
0, -- int easeTime
false, -- BOOL p3
false, -- BOOL p4
0 -- int renderingFlags
)Citizen.invokeNative("0x33281167E4942E4F", // RENDER_SCRIPT_CAMS
false, // BOOL render
false, // BOOL ease
0, // int easeTime
false, // BOOL p3
false, // BOOL p4
0 // int renderingFlags
);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
);Related CAMERA natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.