The Lab
CAMERA native

IS_FIRST_PERSON_CAMERA_ACTIVE

returns BOOL3 paramsbuild 1207

Returns true if the first person camera is active. The three parameters are undocumented.

Signature

C
BOOL IS_FIRST_PERSON_CAMERA_ACTIVE(Any p0, Any p1, Any p2); // 0xA24C1D341C6E0D53 b1207

Parameters

#NameType
1p0Any
2p1Any
3p2Any

Facts

Facts about IS_FIRST_PERSON_CAMERA_ACTIVE
Name
IS_FIRST_PERSON_CAMERA_ACTIVE
Hash
0xA24C1D341C6E0D53
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(0xA24C1D341C6E0D53, -- IS_FIRST_PERSON_CAMERA_ACTIVE
  0, -- Any p0
  0, -- Any p1
  0 -- Any p2
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xA24C1D341C6E0D53", // IS_FIRST_PERSON_CAMERA_ACTIVE
  0, // Any p0
  0, // Any p1
  0, // Any p2
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xA24C1D341C6E0D53, // IS_FIRST_PERSON_CAMERA_ACTIVE
  0, // Any p0
  0, // Any p1
  0 // Any p2
);
All CAMERA natives

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