# PED::_SET_MOUNT_SECURITY_ENABLED

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

## Signature

```c
void _SET_MOUNT_SECURITY_ENABLED(Ped ped, BOOL toggle);
```

## Parameters

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

## Returns

`void`

## Description

Note: this native was added in build 1232.40

## Usage

### Lua

```lua
SetMountSecurityEnabled(ped, toggle)

-- always available, by hash
Citizen.InvokeNative(0x11E6B9629C46D6EC, ped, toggle)
```

### JavaScript

```js
SetMountSecurityEnabled(ped, toggle);

// by hash
Citizen.invokeNative('0x11E6B9629C46D6EC', ped, toggle);
```

### C#

```csharp
Function.Call((Hash)0x11E6B9629C46D6EC, 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.*
