> For the complete documentation index, see [llms.txt](https://docs.l2s.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.l2s.dev/coding-information/register-key-mapping.md).

# Register Key Mapping

{% hint style="success" %}
To modify the default keybind for all players, make sure to update it in your script config file **before** launching the resource on your main server.
{% endhint %}

## <mark style="color:red;">How User Re-Bind Keys</mark>

To change the keybind, users can access their GTA settings, navigate to the "Keybindings" section, then scroll to the second-to-last option, "FiveM." From there, they can locate the specific keybind and adjust it as needed.

<figure><img src="https://content.gitbook.com/content/5Ouu0TE6RGB2wJP79c1y/blobs/ojorQjCOFZfhKhtDn5ci/Screenshot_1.png" alt="" width="563"><figcaption><p>Example</p></figcaption></figure>

## <mark style="color:red;">How to Unbind Keys</mark>

Once the resource has been started on your server for the first time, changing the key from you script config will not affect players who have already joined. However, the updated keybind will apply to any new players who join after the change is made.

**Option 1:**

* To unbind keys for your client only, you can enter the command `unbind keybord_bind` in the F8 console.

**Option 2:**

* Open File Explorer and navigate to `C:\Users\[USERNAME]\AppData\Roaming\CitizenFX`.
* Locate and open the `fivem.cfg` file using a text editor.
* Find and remove the lines related to the specific resource name.
* Save the changes to the `fivem.cfg` file.
* Restart FiveM to reset the keybinds to the default values set in the configuration.
