RedM Natives

IS_CAM_ACTIVE

Returns whether or not the passed camera handle is active.

Hash0x63EFCC7E1810B8E6
Runtime nameIsCamActive
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xDFB2B516207D3534

Signature

BOOL IS_CAM_ACTIVE(Cam cam);

Parameters

NameTypeDescription
camCam—

Returns BOOL

Description

Returns whether or not the passed camera handle is active.

Usage

Lua
local retval = IsCamActive(cam)

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

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

See also

Sources

alloc8or RDR3 NativeDB

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