The Lab
CAMERA native

DOES_CAM_EXIST

returns BOOL1 parambuild 1207

Returns true if cam refers to an existing camera.

Signature

C
BOOL DOES_CAM_EXIST(Cam cam); // 0x153AD457764FD704 b1207

Parameters

#NameType
1camCam

Facts

Facts about DOES_CAM_EXIST
Name
DOES_CAM_EXIST
Hash
0x153AD457764FD704
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x153AD457764FD704, -- DOES_CAM_EXIST
  0 -- Cam cam
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x153AD457764FD704", // DOES_CAM_EXIST
  0, // Cam cam
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x153AD457764FD704, // DOES_CAM_EXIST
  0 // Cam cam
);
All CAMERA natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.