GET_MOUNT_OWNED_BY_PLAYER
Hash
0xF49F14462F0AE27CRuntime name
GetMountOwnedByPlayerNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
Signature
Ped GET_MOUNT_OWNED_BY_PLAYER(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns Ped
Usage
local retval = GetMountOwnedByPlayer(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0xF49F14462F0AE27C, player, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetMountOwnedByPlayer(player);
// by hash
const retval = Citizen.invokeNative('0xF49F14462F0AE27C', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xF49F14462F0AE27C, player);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.