# PED::_SET_PED_USE_HORSE_MAP_COLLISION

- **Hash:** `0xEB72453B6F5B45B0`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetPedUseHorseMapCollision`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1232
- **URL:** https://natives.borderlinerp.com/natives/PED/_SET_PED_USE_HORSE_MAP_COLLISION

## Signature

```c
Any _SET_PED_USE_HORSE_MAP_COLLISION(Ped ped, BOOL toggle);
```

## Parameters

- `ped` (`Ped`)
- `toggle` (`BOOL`)

## Returns

`Any`

## Description

Doesn't actually return anything.

## Usage

### Lua

```lua
local retval = SetPedUseHorseMapCollision(ped, toggle)

-- always available, by hash
local retval = Citizen.InvokeNative(0xEB72453B6F5B45B0, ped, toggle, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = SetPedUseHorseMapCollision(ped, toggle);

// by hash
const retval = Citizen.invokeNative('0xEB72453B6F5B45B0', ped, toggle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xEB72453B6F5B45B0, ped, toggle);
```

- 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.*
