The Lab
PLAYER native

_GET_PLAYER_OWNER_OF_MOUNT

returns Player1 parambuild 1207

Returns the player who owns the horse mount.

Signature

C
Player _GET_PLAYER_OWNER_OF_MOUNT(Ped mount); // 0xAD03B03737CE6810 b1207

Parameters

#NameType
1mountPed

Facts

Facts about _GET_PLAYER_OWNER_OF_MOUNT
Name
_GET_PLAYER_OWNER_OF_MOUNT
Hash
0xAD03B03737CE6810
Namespace
Returns
Player
Game build
1207

Examples

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

Lua
local player = Citizen.InvokeNative(0xAD03B03737CE6810, -- _GET_PLAYER_OWNER_OF_MOUNT
  PlayerPedId(), -- Ped mount
  Citizen.ResultAsInteger()
)
print(player)
JavaScript
const player = Citizen.invokeNative("0xAD03B03737CE6810", // _GET_PLAYER_OWNER_OF_MOUNT
  PlayerPedId(), // Ped mount
  Citizen.resultAsInteger()
);
console.log(player)
C#
int player = Function.Call<int>((Hash)0xAD03B03737CE6810, // _GET_PLAYER_OWNER_OF_MOUNT
  API.PlayerPedId() // Ped mount
);
All PLAYER natives

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