DOES_CAM_EXIST
Returns whether or not the passed camera handle exists.
Hash
0x153AD457764FD704Runtime name
DoesCamExistNamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xA7A932170592B50ESignature
BOOL DOES_CAM_EXIST(Cam cam);Parameters
| Name | Type | Description |
|---|---|---|
cam | Cam | — |
Returns BOOL
Description
Returns whether or not the passed camera handle exists.
Usage
local retval = DoesCamExist(cam)
-- always works, by hash
local retval = Citizen.InvokeNative(0x153AD457764FD704, cam, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = DoesCamExist(cam);
// by hash
const retval = Citizen.invokeNative('0x153AD457764FD704', cam, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x153AD457764FD704, cam);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.