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:
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: