RedM Natives

_SET_DEADEYE_ABILITY_LOCKED

Hash0x2797B8D66DD0EBB8
Runtime nameSetDeadeyeAbilityLocked
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_DEADEYE_ABILITY_LOCKED(Player player, int abilityType, BOOL toggle);

Parameters

NameTypeDescription
playerPlayer—
abilityTypeint—
toggleBOOL—

Returns void

Usage

Lua
SetDeadeyeAbilityLocked(player, abilityType, toggle)

-- always works, by hash
Citizen.InvokeNative(0x2797B8D66DD0EBB8, player, abilityType, toggle)
JavaScript and C#
JavaScript
SetDeadeyeAbilityLocked(player, abilityType, toggle);

// by hash
Citizen.invokeNative('0x2797B8D66DD0EBB8', player, abilityType, toggle);
C#
Function.Call((Hash)0x2797B8D66DD0EBB8, player, abilityType, toggle);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.