# General Exports

Both exports can be used on the client and server side

### <mark style="background-color:red;">exports\['r\_handcuffs']:IsPlayerCuffed(</mark>*<mark style="background-color:red;">number</mark>*<mark style="background-color:red;">)</mark>

***number:*** server id of the person, client-side example: ***GetPlayerServerId(PlayerId())***

**Return:**

true if the player is cuffed, or false if the player is not cuffed.

### <mark style="background-color:red;">exports\['r\_handcuffs']:IsPlayerRope(</mark>*<mark style="background-color:red;">number</mark>*<mark style="background-color:red;">)</mark>

***number:*** server id of the person, client-side example: ***GetPlayerServerId(PlayerId())***

**Return:**

true if the player is tying, or false if the player is not tying.


---

# 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-exports.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.
