_IS_DEADEYE_ABILITY_LOCKED
Hash
0x8A0643B0B4CA276BRuntime name
IsDeadeyeAbilityLockedNamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _IS_DEADEYE_ABILITY_LOCKED(Player player, int abilityType);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
abilityType | int | — |
Returns BOOL
Usage
local retval = IsDeadeyeAbilityLocked(player, abilityType)
-- always works, by hash
local retval = Citizen.InvokeNative(0x8A0643B0B4CA276B, player, abilityType, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsDeadeyeAbilityLocked(player, abilityType);
// by hash
const retval = Citizen.invokeNative('0x8A0643B0B4CA276B', player, abilityType, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.