_IS_DEADEYE_ABILITY_LOCKED
Returns true if the Dead Eye ability abilityType is locked for player.
Signature
BOOL _IS_DEADEYE_ABILITY_LOCKED(Player player, int abilityType); // 0x8A0643B0B4CA276B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | abilityType | int |
Facts
| 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.
local result = Citizen.InvokeNative(0x8A0643B0B4CA276B, -- _IS_DEADEYE_ABILITY_LOCKED
PlayerId(), -- Player player
0 -- int abilityType
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x8A0643B0B4CA276B", // _IS_DEADEYE_ABILITY_LOCKED
PlayerId(), // Player player
0, // int abilityType
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x8A0643B0B4CA276B, // _IS_DEADEYE_ABILITY_LOCKED
API.PlayerId(), // Player player
0 // int abilityType
);Related PLAYER natives
- _SET_DEADEYE_ABILITY_LOCKED
- _IS_PLAYER_LOCKED_ON_ENTITY_ON_HORSE
- _IS_SECONDARY_SPECIAL_ABILITY_ACTIVE
- _IS_SECONDARY_SPECIAL_ABILITY_ENABLED
- _IS_SPECIAL_ABILITY_ACTIVE
- _IS_SPECIAL_ABILITY_ENABLED
- _ENABLE_CUSTOM_DEADEYE_ABILITY
- _GET_DEADEYE_ABILITY_DEPLETION_DELAY
- _GET_DEADEYE_ABILITY_LEVEL
- _GET_IS_DEADEYE_TAGGING_ENABLED
- _SET_DEADEYE_ABILITY_DEPLETION_DELAY
- _SET_DEADEYE_ABILITY_LEVEL
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.