The Lab
PLAYER native

_IS_DEADEYE_ABILITY_LOCKED

returns BOOL2 paramsbuild 1207

Returns true if the Dead Eye ability abilityType is locked for player.

Signature

C
BOOL _IS_DEADEYE_ABILITY_LOCKED(Player player, int abilityType); // 0x8A0643B0B4CA276B b1207

Parameters

#NameType
1playerPlayer
2abilityTypeint

Facts

Facts about _IS_DEADEYE_ABILITY_LOCKED
Name
_IS_DEADEYE_ABILITY_LOCKED
Hash
0x8A0643B0B4CA276B
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(0x8A0643B0B4CA276B, -- _IS_DEADEYE_ABILITY_LOCKED
  PlayerId(), -- Player player
  0 -- int abilityType
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x8A0643B0B4CA276B", // _IS_DEADEYE_ABILITY_LOCKED
  PlayerId(), // Player player
  0, // int abilityType
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x8A0643B0B4CA276B, // _IS_DEADEYE_ABILITY_LOCKED
  API.PlayerId(), // Player player
  0 // int abilityType
);
All PLAYER natives

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