RedM Natives

_EAGLE_EYE_GET_TRACKED_PED_ID

Retrieves the ID of the ped that the specified player is currently tracking while in Eagle Eye mode.

Hash0x3813E11A378958A5
Runtime nameEagleEyeGetTrackedPedId
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Ped _EAGLE_EYE_GET_TRACKED_PED_ID(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns Ped

Description

Retrieves the ID of the ped that the specified player is currently tracking while in Eagle Eye mode.
Images:
- https://imgur.com/gallery/0x3813e11a378958a5-CHoJVRu
- https://imgur.com/gallery/0x3813e11a378958a5-reK5IXt

Usage

Lua
local retval = EagleEyeGetTrackedPedId(player)

-- always works, by hash
local retval = Citizen.InvokeNative(0x3813E11A378958A5, player, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = EagleEyeGetTrackedPedId(player);

// by hash
const retval = Citizen.invokeNative('0x3813E11A378958A5', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x3813E11A378958A5, 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.

Sources

alloc8or RDR3 NativeDB

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