The Lab
CAMERA native

_IS_CAMERA_AVAILABLE

returns BOOL1 parambuild 1207

Returns true if a camera from the dictionary cameraDictionary is available to use.

Signature

C
BOOL _IS_CAMERA_AVAILABLE(const char* cameraDictionary); // 0x927B810E43E99932 b1207

Parameters

#NameType
1cameraDictionaryconst char*

Facts

Facts about _IS_CAMERA_AVAILABLE
Name
_IS_CAMERA_AVAILABLE
Hash
0x927B810E43E99932
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(0x927B810E43E99932, -- _IS_CAMERA_AVAILABLE
  "text" -- const char* cameraDictionary
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x927B810E43E99932", // _IS_CAMERA_AVAILABLE
  "text", // const char* cameraDictionary
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x927B810E43E99932, // _IS_CAMERA_AVAILABLE
  "text" // const char* cameraDictionary
);
All CAMERA natives

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