
📖 Radio System — General Logic#
This is a handheld radio/walkie interface. Players can join a frequency, use push-to-talk (PTT) to transmit voice, and manage channels via Main / Channels / Members / Favorites / Settings tabs. It includes features like incognito mode, dark/light theme, UI scaling, and custom colors.
How It Works#
- Player must have the
radioitem to access the UI. - Enter a frequency or select one from the list → Connect.
- Use the PTT key (SpeakKey) to talk; connected players appear in the Members list.
- Add channels to Favorites for quick access; password-protected channels can be saved with Name/Password.
- In Settings, players can toggle incognito mode (hide from member list), change theme, resize UI, choose colors, and enable/disable radio animation.
In-Game Behavior#
- ItemCheckLoop: If enabled, losing the radio item disconnects the player from channels.
- RestrictedChannels: Only specific jobs/gangs can join designated channels (e.g., channels 1–10 for police/ambulance).
- VoiceSystem: Integrated with
pma-voice(or other voice systems) to handle join/leave logic. - Notify: If enabled, uses your server’s notification system in addition to the built-in radio alerts.
- RadioAnimation: Plays a hand/phone animation while transmitting if enabled.