The Lab
PLAYER native

_GET_PLAYER_DEAD_EYE

returns float1 parambuild 1207

Returns the current Dead Eye amount of player.

Signature

C
float _GET_PLAYER_DEAD_EYE(Player player); // 0xA81D24AE0AF99A5E b1207

Parameters

#NameType
1playerPlayer

Facts

Facts about _GET_PLAYER_DEAD_EYE
Name
_GET_PLAYER_DEAD_EYE
Hash
0xA81D24AE0AF99A5E
Namespace
Returns
float
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xA81D24AE0AF99A5E, -- _GET_PLAYER_DEAD_EYE
  PlayerId(), -- Player player
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xA81D24AE0AF99A5E", // _GET_PLAYER_DEAD_EYE
  PlayerId(), // Player player
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0xA81D24AE0AF99A5E, // _GET_PLAYER_DEAD_EYE
  API.PlayerId() // Player player
);
All PLAYER natives

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