GET_MOUNT_OWNED_BY_PLAYER
Returns the horse owned by player.
Signature
Ped GET_MOUNT_OWNED_BY_PLAYER(Player player); // 0xF49F14462F0AE27C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
Facts
| Name | GET_MOUNT_OWNED_BY_PLAYER |
|---|---|
| Hash | 0xF49F14462F0AE27C |
| Namespace | |
| Returns | Ped |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local ped = Citizen.InvokeNative(0xF49F14462F0AE27C, -- GET_MOUNT_OWNED_BY_PLAYER
PlayerId(), -- Player player
Citizen.ResultAsInteger()
)
print(ped)const ped = Citizen.invokeNative("0xF49F14462F0AE27C", // GET_MOUNT_OWNED_BY_PLAYER
PlayerId(), // Player player
Citizen.resultAsInteger()
);
console.log(ped)int ped = Function.Call<int>((Hash)0xF49F14462F0AE27C, // GET_MOUNT_OWNED_BY_PLAYER
API.PlayerId() // Player player
);Related PLAYER natives
- _GET_VEHICLE_OWNED_BY_PLAYER
- _GET_PLAYER_MOUNT_IS_SPRINTING_ON_ROAD
- _GET_PLAYER_OWNER_OF_MOUNT
- GET_ENTITY_PLAYER_IS_FREE_AIMING_AT
- GET_HAS_PLAYER_DISCOVERED_CHARACTER_NAME_MP
- GET_IS_PLAYER_UI_PROMPT_ACTIVE
- GET_PLAYER_CURRENT_STEALTH_NOISE
- GET_PLAYER_GROUP
- GET_PLAYER_INDEX
- GET_PLAYER_INTERACTION_TARGET_ENTITY
- GET_PLAYER_INVINCIBLE
- GET_PLAYER_NAME
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.