The Lab
PLAYER native

_SET_DEADEYE_ABILITY_LOCKED

returns void3 paramsbuild 1207

Locks or unlocks the Dead Eye ability abilityType for player.

Signature

C
void _SET_DEADEYE_ABILITY_LOCKED(Player player, int abilityType, BOOL toggle); // 0x2797B8D66DD0EBB8 b1207

Parameters

#NameType
1playerPlayer
2abilityTypeint
3toggleBOOL

Facts

Facts about _SET_DEADEYE_ABILITY_LOCKED
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.

Lua
Citizen.InvokeNative(0x2797B8D66DD0EBB8, -- _SET_DEADEYE_ABILITY_LOCKED
  PlayerId(), -- Player player
  0, -- int abilityType
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x2797B8D66DD0EBB8", // _SET_DEADEYE_ABILITY_LOCKED
  PlayerId(), // Player player
  0, // int abilityType
  false // BOOL toggle
);
C#
Function.Call((Hash)0x2797B8D66DD0EBB8, // _SET_DEADEYE_ABILITY_LOCKED
  API.PlayerId(), // Player player
  0, // int abilityType
  false // BOOL toggle
);
All PLAYER natives

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