# PED::SET_PED_ONTO_MOUNT

- **Hash:** `0x028F76B6E78246EB`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetPedOntoMount`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/SET_PED_ONTO_MOUNT

## Signature

```c
void SET_PED_ONTO_MOUNT(Ped ped, Ped mount, int seatIndex, BOOL p3);
```

## Parameters

- `ped` (`Ped`)
- `mount` (`Ped`)
- `seatIndex` (`int`)
- `p3` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetPedOntoMount(ped, mount, seatIndex, p3)

-- always available, by hash
Citizen.InvokeNative(0x028F76B6E78246EB, ped, mount, seatIndex, p3)
```

### JavaScript

```js
SetPedOntoMount(ped, mount, seatIndex, p3);

// by hash
Citizen.invokeNative('0x028F76B6E78246EB', ped, mount, seatIndex, p3);
```

### C#

```csharp
Function.Call((Hash)0x028F76B6E78246EB, ped, mount, seatIndex, p3);
```

*Sources: alloc8or RDR3 NativeDB.*
