Zum Hauptinhalt springen

⌨️ Command Hotkeys

Easily add any commands as hotkeys with Command Hotkeys, allowing for quick and efficient command execution directly from your keyboard.

Package Content

Command Hotkeys

Command Hotkeys allows you to bind any command to a hotkey, streamlining your in-game actions and enhancing your gaming experience.

Config

The configuration file is simple and straightforward. By editing the config.json, you can specify which commands are linked to which hotkeys.

Requirements

None. Command Hotkeys is a standalone script and does not require any additional frameworks.

Usage

Using Command Hotkeys is super simple. Just press the key specified in the config, and the corresponding command will be executed.

Framework Integration

Command Hotkeys can be run with almost every framework as it is completely standalone.

How to Add Hotkeys

Within your config.json, you can easily add commands and bind them to specific hotkeys.

Example Configuration

{
"Commands": {
"myCommand": 249,
}
}

Arguments

  • Commands: This section lists the commands and their corresponding hotkeys. Do not change this line.
    • myCommand: This is the command you want to be executed when a specific key is pressed. In our example, it would be /myCommand
    • 249: The Hotkey is needs to be pressed to execute the command. For the Hotkey list, check the list below.
FiveM Hotkeys

Troubleshooting

Common Issues

  • Commands Not Executing: Ensure that the hotkeys specified in the config.json do not conflict with other bindings in your server.

Additional Assistance

If you encounter any issues or need further assistance, please reach out to our support team. We're here to help ensure you have a smooth and enjoyable experience with Command Hotkeys - support@garmingo.com.