RedM Natives

IS_FIRST_PERSON_AIM_CAM_ACTIVE

Hash0xF63134C54B6EC212
Runtime nameIsFirstPersonAimCamActive
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x5E346D934122613F

Signature

BOOL IS_FIRST_PERSON_AIM_CAM_ACTIVE();

Returns BOOL

Usage

Lua
local retval = IsFirstPersonAimCamActive()

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

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

Sources

alloc8or RDR3 NativeDB

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