The Lab
PLAYER native

_SET_DEADEYE_ABILITY_DEPLETION_DELAY

returns void2 paramsbuild 1207

Sets the delay before Dead Eye starts depleting for player.

Signature

C
void _SET_DEADEYE_ABILITY_DEPLETION_DELAY(Player player, float delay); // 0x870634493CB4372C b1207

Parameters

#NameType
1playerPlayer
2delayfloat

Facts

Facts about _SET_DEADEYE_ABILITY_DEPLETION_DELAY
Name
_SET_DEADEYE_ABILITY_DEPLETION_DELAY
Hash
0x870634493CB4372C
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(0x870634493CB4372C, -- _SET_DEADEYE_ABILITY_DEPLETION_DELAY
  PlayerId(), -- Player player
  0.0 -- float delay
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x870634493CB4372C", // _SET_DEADEYE_ABILITY_DEPLETION_DELAY
  PlayerId(), // Player player
  0.0 // float delay
);
C#
Function.Call((Hash)0x870634493CB4372C, // _SET_DEADEYE_ABILITY_DEPLETION_DELAY
  API.PlayerId(), // Player player
  0.0f // float delay
);
All PLAYER natives

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