> For the complete documentation index, see [llms.txt](https://rpemotes-reborn.gitbook.io/rpemotes-reborn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rpemotes-reborn.gitbook.io/rpemotes-reborn/fundamentals/getting-set-up/ragdoll.md).

# Ragdoll

## Enabling Ragdoll

To enable ragdoll, change <mark style="color:red;">`false`</mark>

{% code title="config.lua" %}

```lua
RagdollEnabled = false
```

{% endcode %}

to <mark style="color:green;">`true`</mark> in `config.lua`&#x20;

{% hint style="info" %}
Much like the menu key, `RagdollKeybind` uses RegisterKeyMapping. By default It is  set to **`U`** server side. To change the keybind change the default **U** value in FiveM keybinds found in the **settings** menu within the **Esc Menu**.
{% endhint %}

***

## Ragdoll Options

An option to toggle whether ragdoll requires a single key press or the key to be held is found under

{% code title="config.lua" %}

```lua
RagdollAsToggle = true,
```

{% endcode %}

Changing the value to <mark style="color:green;">`true`</mark> will enable a toggleable ragdoll, changing the value to <mark style="color:red;">`false`</mark> will require the player to hold down the assigned ragdoll key.

{% hint style="info" %}
`RagDollAsToggle` only works if `RagdollEnabled` is set to <mark style="color:green;">`true`</mark>.
{% endhint %}

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://rpemotes-reborn.gitbook.io/rpemotes-reborn/fundamentals/getting-set-up/ragdoll.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.
