RedM Natives

_EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK

Checks if the player can focus on tracks while in Eagle Eye mode.

Hash0x1DA5C5B0923E1B85
Runtime nameEagleEyeCanPlayerFocusOnTrack
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns BOOL

Description

Checks if the player can focus on tracks while in Eagle Eye mode. Returns true if the player is able to focus on a track, otherwise false.
Example usage:
if (PLAYER::_EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK(PLAYER::PLAYER_ID())) {
// Perform actions when the player is focusing on a track in Eagle Eye mode
}
Video: https://imgur.com/gallery/0x1da5c5b0923e1b85-M8AyOsu

Usage

Lua
local retval = EagleEyeCanPlayerFocusOnTrack(player)

-- always works, by hash
local retval = Citizen.InvokeNative(0x1DA5C5B0923E1B85, player, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = EagleEyeCanPlayerFocusOnTrack(player);

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