RedM Natives

RENDER_SCRIPT_CAMS

ease - smooth transition between the camera's positions easeTime - Time in milliseconds for the transition to happen If you have created a script (rendering) camera, and want to go back to the character (gameplay) camera, call this nativ…

Hash0x33281167E4942E4F
Runtime nameRenderScriptCams
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x07E5B515DB0636FC

Signature

void RENDER_SCRIPT_CAMS(BOOL render, BOOL ease, int easeTime, BOOL p3, BOOL p4, int renderingFlags);

Parameters

NameTypeDescription
renderBOOL—
easeBOOL—
easeTimeint—
p3BOOL—
p4BOOL—
renderingFlagsint—

Returns void

Description

ease - smooth transition between the camera's positions
easeTime - Time in milliseconds for the transition to happen

If you have created a script (rendering) camera, and want to go back to the
character (gameplay) camera, call this native with render set to FALSE.
Setting ease to TRUE will smooth the transition.

Usage

Lua
RenderScriptCams(render, ease, easeTime, p3, p4, renderingFlags)

-- always works, by hash
Citizen.InvokeNative(0x33281167E4942E4F, render, ease, easeTime, p3, p4, renderingFlags)
JavaScript and C#
JavaScript
RenderScriptCams(render, ease, easeTime, p3, p4, renderingFlags);

// by hash
Citizen.invokeNative('0x33281167E4942E4F', render, ease, easeTime, p3, p4, renderingFlags);
C#
Function.Call((Hash)0x33281167E4942E4F, render, ease, easeTime, p3, p4, renderingFlags);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.