RedM Natives

_GET_DEADEYE_ABILITY_DEPLETION_DELAY

Returns the depletion delay value for the Deadeye ability that was previously set using `PLAYER::_SET_DEADEYE_ABILITY_DEPLETION_DELAY` (0x870634493CB4372C).

Hash0xE92261BD28C0878F
Runtime nameGetDeadeyeAbilityDepletionDelay
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

float _GET_DEADEYE_ABILITY_DEPLETION_DELAY(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns float

Description

alloc8or RDR3 NativeDB

Returns the depletion delay value for the Deadeye ability that was previously set using `PLAYER::_SET_DEADEYE_ABILITY_DEPLETION_DELAY` (0x870634493CB4372C). This function provides a float value representing the delay, allowing the game to retrieve the current Deadeye depletion setting for a specific player.

Example usage:

float depletionDelay = PLAYER::_GET_DEADEYE_ABILITY_DEPLETION_DELAY(PLAYER::PLAYER_ID());
Video: https://imgur.com/gallery/0xe92261bd28c0878f-TAqX0fg

VORPCORE RDR3natives

Returns the depletion delay value for the Deadeye ability that was previously set using `SetDeadeyeAbilityDepletionDelay - 0x870634493CB4372C`

Usage

Lua
local retval = GetDeadeyeAbilityDepletionDelay(player)

-- always works, by hash
local retval = Citizen.InvokeNative(0xE92261BD28C0878F, player, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetDeadeyeAbilityDepletionDelay(player);

// by hash
const retval = Citizen.invokeNative('0xE92261BD28C0878F', player, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0xE92261BD28C0878F, player);
  • 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 · VORPCORE RDR3natives

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