Let Players set a Keybind

Create a command for that functionality using RegisterCommand(), and then use RegisterKeyMapping - FiveM Natives @ Cfx.re Docs to register a key binding.

Those new key bindings will appear in Settings > Key Bindings > FiveM:

1 Like