Below are the available functions, events, and exports for interacting with the radio system. These can be used to integrate with other scripts or customize functionality.
📡 Open Radio UI
Opens the in-game radio interface:
TriggerEvent('wow_radio:openUI')
❌ Disable Radio
Disables the radio for a player:
TriggerEvent('wow_radio:disable')
🚪 Remove Player from Radio
Forces a player to leave the current radio channel:
TriggerEvent('wow_radio:forceLeave')
📻 Check Current Channel
Returns the current radio channel of the player:
exports['wow_radio']:isInRadio()
🔗 Join Radio via Export
Allows a player to connect to a specific channel using exports:
exports["wow_radio"]:joinRadio(channel)
🛠️ Advanced Usage
🔄 Connecting & Disconnecting Players
Our script automatically detects and manages voice system compatibility, ensuring smooth transitions when players join or leave channels. Below is an example event handling radio connection across different voice systems:
🔊 Adjusting Radio Volume
Players can adjust the radio volume dynamically using the following callback:
📌 Additional Notes
• The script includes detailed configuration options inside config.lua—make sure to review and adjust settings according to your server’s requirements.
• While pma-voice is the preferred voice system, Mumble VOIP is still supported if you prefer using it.
• If you encounter any issues or need customization assistance, don’t hesitate to contact us on Discord.
🚀 Your server’s communication just got an upgrade! Enjoy using WoW Scripts Radio! 🎧