-
Megaphone Menu
- Simple menu with the help of the ox-menu.
-
Vehcile Whitelist
- The menu is only accessable in a whitelisted vehicle.
-
Job Whitelist
- The menu is only accessable in a whitelisted job.
-
Minigame for non-whitelisted players
- Non-whitelisted players have to do a minigame to gain access to the menu.
-
Framework
- Works fine with ESX and Qb. You can use it standalone too. Warning if you use it standalone the whitelist may not work.
-
Download the script
- Clone or download the repository to your server.
-
Place it into the right folder
- Unzip the files and place it in the
resources
folder.
- Unzip the files and place it in the
-
Add to the cfg
- Ensure or start the resource and add to the server.cfg.
-
Configure the script
- In the
shared/main.lua
you can configure the following things:- Whitelist for vehciles and jobs.
- Volume and distance of the sounds.
- You can place your own sounds.
- In the
-
Place the sounds at the right place
- Navigate to the
xsound/html/sounds
folder, then paste the sounds into the folder. (You can paste all 60 of them, or just the used ones)
- Navigate to the
-
Restart the server
- Restart your fivem server.
- Access the menu
- Use the keybind or the command.
- Default keybind:
O
- Default command:
/megaphone
- Default keybind:
- Use the keybind or the command.