# PED::_GET_RIDER_OF_MOUNT

- **Hash:** `0xB676EFDA03DADA52`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `GetRiderOfMount`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/_GET_RIDER_OF_MOUNT

## Signature

```c
Ped _GET_RIDER_OF_MOUNT(Ped mount, BOOL p1);
```

## Parameters

- `mount` (`Ped`)
- `p1` (`BOOL`)

## Returns

`Ped`

## Usage

### Lua

```lua
local retval = GetRiderOfMount(mount, p1)

-- always available, by hash
local retval = Citizen.InvokeNative(0xB676EFDA03DADA52, mount, p1, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetRiderOfMount(mount, p1);

// by hash
const retval = Citizen.invokeNative('0xB676EFDA03DADA52', mount, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xB676EFDA03DADA52, mount, p1);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
