# PLAYER::_EAGLE_EYE_GET_TRACKED_PED_ID

- **Hash:** `0x3813E11A378958A5`
- **Namespace:** PLAYER
- **Runtime name (Lua/JS):** `EagleEyeGetTrackedPedId`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PLAYER/_EAGLE_EYE_GET_TRACKED_PED_ID

## Signature

```c
Ped _EAGLE_EYE_GET_TRACKED_PED_ID(Player player);
```

## Parameters

- `player` (`Player`)

## 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

```lua
local retval = EagleEyeGetTrackedPedId(player)

-- always available, by hash
local retval = Citizen.InvokeNative(0x3813E11A378958A5, player, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = EagleEyeGetTrackedPedId(player);

// by hash
const retval = Citizen.invokeNative('0x3813E11A378958A5', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
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.*
