Configuration
Check the instructions below.
3. Configuration
Edit sh_config.lua
Notification Functionality:
If you have a custom notification system, uncomment and update the
Notify
function:
Voice Script:
Set the voice script being used:
Default Radio Volume:
Adjust the default volume level (1-100):
Radio Prop Configuration:
Modify the radio prop's model, texture, animations, and offsets as required:
Button Functionality:
Adjust button labels and functionality if needed:
Example for the toggle button:
Debugging:
Enable button position markers by setting
debugButtons
totrue
(useful for development):
4. Key Features
Toggle Radio: Enable or disable the radio.
Volume Control: Increase or decrease radio volume in increments of 5.
Connect to Channel: Set the radio channel.
Disconnect: Leave the current radio channel.
5. Testing
Verify Functionality:
Join the server and use the script's features to ensure everything works:
Equip the radio prop.
Test all buttons (toggle, volume up, volume down, connect, disconnect).
Adjust Prop Placement:
If the radio prop is misaligned with the player, adjust the offsets in
sh_config.lua
:
Debug Mode:
Enable
debugButtons
and verify button positions:
6. Notes
Ensure your
pma-voice
settings allow proper integration with the radio.Update the notification system if needed to align with your server's setup.
For support, reach out to GFX Support. 🎉
Last updated