The Lab
PLAYER native

_EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK

returns BOOL1 parambuild 1207

Returns true if player can currently focus on a track in Eagle Eye.

Signature

C
BOOL _EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK(Player player); // 0x1DA5C5B0923E1B85 b1207

Parameters

#NameType
1playerPlayer

Facts

Facts about _EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK
Name
_EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK
Hash
0x1DA5C5B0923E1B85
Namespace
Returns
BOOL
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(0x1DA5C5B0923E1B85, -- _EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK
  PlayerId() -- Player player
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x1DA5C5B0923E1B85", // _EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK
  PlayerId(), // Player player
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x1DA5C5B0923E1B85, // _EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK
  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.