_SET_DEADEYE_ABILITY_LOCKED
Locks or unlocks the Dead Eye ability abilityType for player.
Signature
void _SET_DEADEYE_ABILITY_LOCKED(Player player, int abilityType, BOOL toggle); // 0x2797B8D66DD0EBB8 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | abilityType | int |
| 3 | toggle | BOOL |
Facts
| Name | _SET_DEADEYE_ABILITY_LOCKED |
|---|---|
| Hash | 0x2797B8D66DD0EBB8 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x2797B8D66DD0EBB8, -- _SET_DEADEYE_ABILITY_LOCKED
PlayerId(), -- Player player
0, -- int abilityType
false -- BOOL toggle
)Citizen.invokeNative("0x2797B8D66DD0EBB8", // _SET_DEADEYE_ABILITY_LOCKED
PlayerId(), // Player player
0, // int abilityType
false // BOOL toggle
);Function.Call((Hash)0x2797B8D66DD0EBB8, // _SET_DEADEYE_ABILITY_LOCKED
API.PlayerId(), // Player player
0, // int abilityType
false // BOOL toggle
);Related PLAYER natives
- _SET_DEADEYE_ABILITY_LEVEL
- _SET_DEADEYE_ABILITY_DEPLETION_DELAY
- _SET_DEADEYE_ENTITY_AURA_EFFECT
- _SET_DEADEYE_ENTITY_AURA_EFFECT_INTENSITY
- _SET_DEADEYE_TAGGING_CONFIG
- _SET_DEADEYE_TAGGING_ENABLED
- _IS_DEADEYE_ABILITY_LOCKED
- _SET_BOW_DRAW_REDUCTION_TIME_IN_DEADEYE
- _SET_LOCAL_PLAYER_PERSONA_ABILITY_FLAG
- _SET_PLAYER_CAN_PICKUP_ABILITY
- _SET_SPECIAL_ABILITY_ACTIVATION_COST
- _SET_SPECIAL_ABILITY_DISABLE_TIMER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.