Reset Custom Keybinds (set with RegisterKeyMapping)

GTA V version: Latest
Up to date: Yes
Legit or Pirate copy: Legit
Purchased where - Steam/Rockstar Launcher/Epic: Rockstar
Windows version: Win10Pro 21H2
Did you try to delete content_index.xml and try again? Doesn’t matter
System specifications: i7 9700KF@4,7GHz | GTX 1070 | 16GB DDR4

Important parts

What is the issue you’re having?
I don’t know how to reset keybinds set with RegisterKeyMapping() back to server default.

What are you trying to do?
I’m just changing some keybinds on my server and I would like to test if they work like intended. Sadly I have no idea how to reset them.

What have you tried already to fix the issue?

  • Resetting my regular keybinds doesn’t affect the FiveM category.
  • Executing ResetInputMappingScheme() doesn’t do much and there is too little documentation so I don’t know what it’s for…
1 Like

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

Just delete Fivem Cache

Unfortunately, even reinstalling FiveM and clearing the registry didn’t work.

Ok, so I just solved it. Custom keybinds are saved at %AppData%\CitizenFX\fivem.cfg.

So if you change your server-keybinds regularly, you might want something like this on your desktop:

ResetKeybinds.bat

@echo off
cd %AppData%\CitizenFX
cls
type fivem.cfg | findstr /V "rbind" > temp
del fivem.cfg | type temp > fivem.cfg | del temp
6 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.