# General Configuration

### Config.Language

![](/files/fn110LtFtx93GalOjr8U)

Choose the language of the resource, we propose the basic language **French&#x20;*****(fr)*** and **English&#x20;*****(en)***.

### Config.EnableCommands

<div align="left"><figure><img src="/files/pzbYpVJdfTQxocgCZJeF" alt=""><figcaption></figcaption></figure></div>

Don't activate if you're using a framework

Order list if enabled:

```
/cuffs
/uncuffs
/rope
/unrope
/grinder
```

### Config.Framework

<figure><img src="/files/WqZOpIHRuWYgeaml35w2" alt=""><figcaption></figcaption></figure>

For each framework, please follow the appropriate documentation

### Config.DisableInventoryKey

<div align="left"><figure><img src="/files/FxxbCQqWxpbuOGJC3PJ3" alt=""><figcaption></figcaption></figure></div>

Disables the inventory key when the player is handcuffed.

If you're using `ox_inventory`, there's no need to set the keys as they are automatically handled by the system.

### Config.DisableKey

<div align="left"><figure><img src="/files/PvVFNt1ph81ALuxyAxk9" alt=""><figcaption></figcaption></figure></div>

Disables the keys below when the player is handcuffed. To adjust, go to the FiveM key list [here](https://docs.fivem.net/docs/game-references/controls/).

### Config.SyncedCuffs

<div align="left"><figure><img src="/files/eFogfyGEOirZDrk6fDfi" alt=""><figcaption></figcaption></figure></div>

Keeps the player handcuffed even if he disconnects and reconnects later (this setting works with the player's GTA V license and is saved only in a temporary server table)

### Config.NeedToBeBehind

![](/files/W7xxanXu31AuczD5FBWU)

Set this option to “true” if you want the player to be behind the person in order to handcuff/unhandcuff them. (if false, the player can be in front of the other player to cuff/uncuff him)

### Config.Props

<div align="left"><figure><img src="/files/QKFQyPCTv4EXF2OcEu3R" alt=""><figcaption></figcaption></figure></div>

### Config.StatebagsName

<div align="left"><figure><img src="/files/dyv5nsn05g9h7aOilj7K" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rytrak.fr/scripts/advanced-handcuffs-system/general-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
