RedM Natives

_IS_DEADEYE_ABILITY_LOCKED

Hash0x8A0643B0B4CA276B
Runtime nameIsDeadeyeAbilityLocked
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _IS_DEADEYE_ABILITY_LOCKED(Player player, int abilityType);

Parameters

NameTypeDescription
playerPlayer—
abilityTypeint—

Returns BOOL

Usage

Lua
local retval = IsDeadeyeAbilityLocked(player, abilityType)

-- always works, by hash
local retval = Citizen.InvokeNative(0x8A0643B0B4CA276B, player, abilityType, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsDeadeyeAbilityLocked(player, abilityType);

// by hash
const retval = Citizen.invokeNative('0x8A0643B0B4CA276B', player, abilityType, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x8A0643B0B4CA276B, player, abilityType);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB

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