RedM Natives

GET_MOUNT_OWNED_BY_PLAYER

Hash0xF49F14462F0AE27C
Runtime nameGetMountOwnedByPlayer
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207

Signature

Ped GET_MOUNT_OWNED_BY_PLAYER(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns Ped

Usage

Lua
local retval = GetMountOwnedByPlayer(player)

-- always works, by hash
local retval = Citizen.InvokeNative(0xF49F14462F0AE27C, player, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetMountOwnedByPlayer(player);

// by hash
const retval = Citizen.invokeNative('0xF49F14462F0AE27C', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xF49F14462F0AE27C, player);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.