GET_MOUNT
Returns the mount ped is riding, or 0 if it is not mounted.
Signature
Ped GET_MOUNT(Ped ped); // 0xE7E11B8DCBED1058 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | GET_MOUNT |
|---|---|
| Hash | 0xE7E11B8DCBED1058 |
| 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(0xE7E11B8DCBED1058, -- GET_MOUNT
PlayerPedId(), -- Ped ped
Citizen.ResultAsInteger()
)
print(ped)const ped = Citizen.invokeNative("0xE7E11B8DCBED1058", // GET_MOUNT
PlayerPedId(), // Ped ped
Citizen.resultAsInteger()
);
console.log(ped)int ped = Function.Call<int>((Hash)0xE7E11B8DCBED1058, // GET_MOUNT
API.PlayerPedId() // Ped ped
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.