RedM Natives

GET_RENDERING_CAM

Hash0x03A8931ECC8015D6
Runtime nameGetRenderingCam
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x5234F9F10919EABA

Signature

Cam GET_RENDERING_CAM();

Returns Cam

Usage

Lua
local retval = GetRenderingCam()

-- always works, by hash
local retval = Citizen.InvokeNative(0x03A8931ECC8015D6, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetRenderingCam();

// by hash
const retval = Citizen.invokeNative('0x03A8931ECC8015D6', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x03A8931ECC8015D6);

Sources

alloc8or RDR3 NativeDB

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