Compatibility with pma-voice
Last updated
Last updated
This guide explains how to make the Advanced Megaphone System compatible with PMA-Voice.
Install PMA-Voice and r_megaphone on your server.
Enable PMA-Voice compatibility in the config.lua
file:
Ensure that pma-voice
is started before r_megaphone
in your server.cfg
If they are in start folders, you need to start them manually separately.
✅ Correct order in server.cfg
:
Restart your server to apply the changes.
Why does this issue occur?
This error typically appears when r_megaphone
is started for the first time without restarting the server. The script tries to auto-generate a file named megaphone.lua
inside the pma-voice
script.
However, it might fail due to:
Missing write permissions.
Incorrect folder structure.
A server that hasn’t been restarted after installing the resource.
Step 1: Manually Create the megaphone.lua
File
Go to:
Create a new file called:
Paste the following code into it:
Step 2: Modify the fxmanifest.lua
in pma-voice
Add this line at the bottom (You must start this file separately even if you already have a global start of the files.):
Step 3: Ensure the Correct Startup Order
In your server.cfg
, verify this order:
Step 4: Restart the Server
After applying all changes, restart your server to ensure the megaphone integration is active.
r_megaphone
must have these line(s) below in your server.cfg file to workCause:
The r_megaphone
script needs these two lines to produce the appropriate voice effects.
Solution:
Check that these two lines appear in server.cfg
If not, add them.
r_megaphone
must be started after pma-voice
in the server.cfg file!Cause:
r_megaphone
depends on pma-voice
and must load afterward to access its functions.
Solution:
Adjust your server.cfg
: