RedM Natives

IS_CAM_RENDERING

Hash0x4415F8A6C536D39F
Runtime nameIsCamRendering
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x02EC0AF5C5A49B7A

Signature

BOOL IS_CAM_RENDERING(Cam cam);

Parameters

NameTypeDescription
camCam—

Returns BOOL

Usage

Lua
local retval = IsCamRendering(cam)

-- always works, by hash
local retval = Citizen.InvokeNative(0x4415F8A6C536D39F, cam, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsCamRendering(cam);

// by hash
const retval = Citizen.invokeNative('0x4415F8A6C536D39F', cam, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x4415F8A6C536D39F, cam);

Sources

alloc8or RDR3 NativeDB

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