The Lab
PLAYER native

_EAGLE_EYE_SET_COLOR

returns void3 paramsbuild 1207

Based on its name and signature, here is our best reading:

Sets the Eagle Eye highlight color for player.

Signature

C
void _EAGLE_EYE_SET_COLOR(Player player, BOOL p1, Any* p2); // 0x2C41D93F550D5E37 b1207

Parameters

#NameType
1playerPlayer
2p1BOOL
3p2Any* (out pointer)

Facts

Facts about _EAGLE_EYE_SET_COLOR
Name
_EAGLE_EYE_SET_COLOR
Hash
0x2C41D93F550D5E37
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local p2 = Citizen.InvokeNative(0x2C41D93F550D5E37, -- _EAGLE_EYE_SET_COLOR
  PlayerId(), -- Player player
  false, -- BOOL p1
  Citizen.PointerValueInt() -- Any* p2
)
print(p2)
JavaScript
const p2 = Citizen.invokeNative("0x2C41D93F550D5E37", // _EAGLE_EYE_SET_COLOR
  PlayerId(), // Player player
  false, // BOOL p1
  Citizen.pointerValueInt() // Any* p2
);
console.log(p2)
C#
var p2Arg = new OutputArgument();
Function.Call((Hash)0x2C41D93F550D5E37, // _EAGLE_EYE_SET_COLOR
  API.PlayerId(), // Player player
  false, // BOOL p1
  p2Arg // Any* p2
);
int p2 = p2Arg.GetResult<int>();
All PLAYER natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.