RedM Natives

DOES_CAM_EXIST

Returns whether or not the passed camera handle exists.

Hash0x153AD457764FD704
Runtime nameDoesCamExist
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xA7A932170592B50E

Signature

BOOL DOES_CAM_EXIST(Cam cam);

Parameters

NameTypeDescription
camCam—

Returns BOOL

Description

Returns whether or not the passed camera handle exists.

Usage

Lua
local retval = DoesCamExist(cam)

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

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

Sources

alloc8or RDR3 NativeDB

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