# FiveM Keybinds & Commands

## FiveM Keybinds

Sonoran Radio allows you to customize keybinds for in-game actions on the radio.

To customize these, navigate to your GTA `Settings` -> `Key Bindings` -> `FiveM` -> `(sonoranradio)`

Communities can also customize the default keybinds for new users in the [configuration's](https://docs.sonoransoftware.com/radio/getting-started/installing-the-in-game-resource#updates) `keybind` property with the [available options](https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/).

<figure><img src="https://1542307009-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfCk5zoeun5gx3ujYW6eg%2Fuploads%2FQ53HXEA19Gooq4CoFJHI%2Fimage.png?alt=media&#x26;token=86359b2c-d94d-4c0d-a9f9-f4421ba03cba" alt=""><figcaption><p>FiveM Keybinds: Sonoran Radio</p></figcaption></figure>

### Radio Power

This keybind will turn your radio on/off.

### Prev/Next Channel (In Group)

These keybinds will move you to the previous or next channel within the current channel group.

### Prev/Next Group

These keybinds will move you to the previous or next channel group.

### Radio PTT

This keybind will transmit your voice on the radio while being held down.

### Panic

This keybind will toggle your panic status in the radio, and in [Sonoran CAD](https://docs.sonoransoftware.com/radio/integrations/sonoran-cad-integration#cad-panic).

#### Auto PTT on Panic&#x20;

Sonoran Radio has a [configurable option](https://docs.sonoransoftware.com/radio/getting-started/installing-the-in-game-resource#updates) to automatically press a users PTT button for a configurable amount of time when the user [presses their radio panic button](https://docs.sonoransoftware.com/radio/tutorials/usage/in-game-radio/using-the-in-game-radio/..#panic):

```lua
Config.autoPttOnPanic = {
	enabled = true, -- Enable automatic PTT when panic button is pressed
	duration = 15 -- Duration in seconds to hold PTT when panic button is pressed
}
```

### Volume Up/Down

This keybind will quickly adjust your volume up/down, [based on the percentage set in your settings menu](https://docs.sonoransoftware.com/radio/tutorials/usage/in-game-radio/using-the-in-game-radio/..#radio-volume).

### Toggle Radio Repeater

This keybind will toggle your [vehicle's mobile signal repeater](https://docs.sonoransoftware.com/radio/tutorials/usage/in-game-repeaters#mobile-vehicle-repeaters).

### Toggle Radio Users

This keybind will display the [current radio connected user list](https://docs.sonoransoftware.com/radio/tutorials/usage/in-game-radio/connected-users-list).

### Toggle Radio Talk Animation

This keybind will toggle on/off the talking animation.

***

## Stream Deck Integration

Stream Deck plugins like [FXCommands](https://marketplace.elgato.com/product/fxcommands-fivem-a6cdf538-76ac-4fc7-b8b8-130ea2b8bcbb) can be used to trigger any of the [FiveM client commands](#fivem-client-commands) below.

***

## FiveM Client Commands

### Copying Channel and Scan List IDs

FiveM commands require channel and scan list IDs. These IDs can be made visible by toggling the `#` icon in the channel or scan list menus.

<div><figure><img src="https://1542307009-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfCk5zoeun5gx3ujYW6eg%2Fuploads%2FYwvvZ174Hc19WH7bRs6K%2Fimage.png?alt=media&#x26;token=29c8914d-bd88-4d9b-8791-234a581eaec4" alt="" width="180"><figcaption><p>Modern UI: Channel and Scan IDs</p></figcaption></figure> <figure><img src="https://1542307009-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfCk5zoeun5gx3ujYW6eg%2Fuploads%2FesGvuM4BmMgfwqJ1vNzC%2Fimage.png?alt=media&#x26;token=f74ee239-9fb1-4f34-90e6-6c7ca54bd5cf" alt="" width="198"><figcaption><p>Modern UI: Channel IDs</p></figcaption></figure></div>

### Toggle Channel Transmit

To toggle [transmitting on a specific channel](https://docs.sonoransoftware.com/radio/tutorials/usage/in-game-radio/using-the-in-game-radio/..#connecting-and-switching-channels) use the command

`/radio channel ID`

### Toggle Scan List

To toggle on/off a specific [scan list](https://docs.sonoransoftware.com/radio/tutorials/usage/in-game-radio/using-the-in-game-radio/..#custom-scan-lists) use the command

`/radio scanlist ID`

### Toggle Channel Scan

To toggle on/off [scanning a specific channel](https://docs.sonoransoftware.com/radio/tutorials/usage/in-game-radio/using-the-in-game-radio/..#channel-scanning-listening) use the command

`/radio scan ID`

***

## FiveM Server Commands

Commands for the server console.

### Debug Mode

Toggle the [`config.debug` mode](https://docs.sonoransoftware.com/radio/getting-started/installing-the-in-game-resource#updates) with the command

`/sonoranradio debugmode`

Note: This mode does not persist through server restarts.

### Update

Run the automatic update with the command

`/sonoranradio update`
