IS_CAM_ACTIVE
Returns whether or not the passed camera handle is active.
Hash
0x63EFCC7E1810B8E6Runtime name
IsCamActiveNamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xDFB2B516207D3534Signature
BOOL IS_CAM_ACTIVE(Cam cam);Parameters
| Name | Type | Description |
|---|---|---|
cam | Cam | — |
Returns BOOL
Description
Returns whether or not the passed camera handle is active.
Usage
local retval = IsCamActive(cam)
-- always works, by hash
local retval = Citizen.InvokeNative(0x63EFCC7E1810B8E6, cam, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsCamActive(cam);
// by hash
const retval = Citizen.invokeNative('0x63EFCC7E1810B8E6', cam, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x63EFCC7E1810B8E6, cam);See also
SET_CAM_ACTIVESet camera as active/inactive.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.