_EAGLE_EYE_GET_TRACKED_PED_ID
Retrieves the ID of the ped that the specified player is currently tracking while in Eagle Eye mode.
Hash
0x3813E11A378958A5Runtime name
EagleEyeGetTrackedPedIdNamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Ped _EAGLE_EYE_GET_TRACKED_PED_ID(Player player);Parameters
| Name | Type | Description |
|---|---|---|
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
local retval = EagleEyeGetTrackedPedId(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0x3813E11A378958A5, player, Citizen.ResultAsInteger())JavaScript and C#
const retval = EagleEyeGetTrackedPedId(player);
// by hash
const retval = Citizen.invokeNative('0x3813E11A378958A5', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.