These commands map directly onto user-facing radio actions: turn the radio on, press PTT, change channel, declare an emergency, push a soft button. They're intended primarily for keyboard binding (via FiveM's bind system) and for scripted automation (calling ExecuteCommand), but power users can run any of them from the F8 console.
A handful of these are pre-bound to default keys when the script first loads — those defaults can be overridden either in the user's keybindings menu or via convars listed below.
| Command | Min version | Default key | Purpose |
|---|---|---|---|
radio |
v4.11.0 | scnp25_defaultDisplay (default OEM_5, the ] key) |
Toggle the radio UI on / off. No-op if no codeplug is loaded. |
+focusradio / -focusradio |
v4.11.0 | scnp25_defaultFocus (default OEM_4, the [ key) |
Hold to focus the radio (mouse capture). Release returns focus to the game. |
focusradio |
v4.11.0 | — | Legacy no-op kept for backward compatibility. |
| Command | Min version | Default key | Purpose |
|---|---|---|---|
+ptt |
v4.11.0 | unbound | Press PTT. Begins a transmission. |
-ptt |
v4.11.0 | unbound | Release PTT. Ends the transmission. |
These should always be bound as a +/- pair so the release is detected.
| Command | Min version | Default key | Purpose |
|---|---|---|---|
radioEmergency |
v4.11.0 | scnp25_defaultEmerg (default F6) |
Declare an emergency alarm on the current talkgroup. Subject to the channel's emergDenied flag. |
| Command | Min version | Purpose |
|---|---|---|
radioNextChannel |
v4.11.0 | Step to the next channel within the current zone. |
radioLastChannel |
v4.11.0 | Step to the previous channel within the current zone. |
radioNextZone |
v4.11.0 | Step to the next zone (and restore that zone's last-used channel). |
radioLastZone |
v4.11.0 | Step to the previous zone. |
| Command | Min version | Purpose |
|---|---|---|
radioVolumeUp |
v4.11.0 | Increase the radio's volume by one step. |
radioVolumeDown |
v4.11.0 | Decrease the radio's volume by one step. |
These press the buttons on the radio's UI as if the user had clicked them. Useful for binding the soft buttons to physical keys, or for scripted UI flows.
| Command | Min version | Purpose |
|---|---|---|
radioSoftButton1 |
v4.11.0 | Press soft button 1. |
radioSoftButton2 |
v4.11.0 | Press soft button 2. |
radioSoftButton3 |
v4.11.0 | Press soft button 3. |
radioSoftButton4 |
v4.11.0 | Press soft button 4. |
radioSoftButton5 |
v4.11.0 | Press soft button 5. |
radioHomeButton |
v6.8.0 | Press the home button. |
What each soft button actually does is determined by the active codeplug's buttonActions.
Bind PTT to the back-tick key:
bind keyboard `~` "+ptt"
Trigger a channel-up from another script:
Lua
ExecuteCommand("radioNextChannel")
C#
API.ExecuteCommand("radioNextChannel");
Override a default keymap convar in server.cfg:
set scnp25_defaultEmerg "F8"