# PED::SET_ENABLE_HANDCUFFS

- **Hash:** `0xDF1AF8B5D56542FA`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetEnableHandcuffs`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/SET_ENABLE_HANDCUFFS

## Signature

```c
void SET_ENABLE_HANDCUFFS(Ped ped, BOOL p1, BOOL p2);
```

## Parameters

- `ped` (`Ped`)
- `p1` (`BOOL`)
- `p2` (`BOOL`)

## Returns

`void`

## Description

Ped can not pull out a weapon when true

## Usage

### Lua

```lua
SetEnableHandcuffs(ped, p1, p2)

-- always available, by hash
Citizen.InvokeNative(0xDF1AF8B5D56542FA, ped, p1, p2)
```

### JavaScript

```js
SetEnableHandcuffs(ped, p1, p2);

// by hash
Citizen.invokeNative('0xDF1AF8B5D56542FA', ped, p1, p2);
```

### C#

```csharp
Function.Call((Hash)0xDF1AF8B5D56542FA, ped, p1, p2);
```

*Sources: alloc8or RDR3 NativeDB.*
