The Lab
PLAYER native

_EAGLE_EYE_SET_DRAIN_RATE_MODIFIER

returns void2 paramsbuild 1207

Sets a multiplier on how fast Eagle Eye drains for player.

Signature

C
void _EAGLE_EYE_SET_DRAIN_RATE_MODIFIER(Player player, float modifier); // 0xE0D6C2A146A5C993 b1207

Parameters

#NameType
1playerPlayer
2modifierfloat

Facts

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

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