I changed the key, but it doesn't update in-game

Most of my scripts use FiveM’s native RegisterKeyMapping function for key control: https://docs.fivem.net/natives/?_0xD7664FD1

This native saves the key you set in the config to your local cache the first time you join the game. After that, even if you change the key in the config, it won’t update for you — because the game loads the keybinding from your cache.

The config change will only affect new players who join the server for the first time.

If you want to change your key, you need to go to GTA5 Settings → Key Bindings → FiveM category and update the key from there manually.

Last updated