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