This Lua script for FiveM provides an optimized music menu that adds music to your server.
Follow these steps to install the script on your FiveM server:
- Download the script by clicking on the "Code" button of this repository, then choose "Download ZIP".
- Extract the content of the downloaded ZIP file.
- Place the extracted folder into the
resources
directory of your FiveM server. - Make sure to install the dependency,
xsound
, by adding it to your server'sresources
directory as well. You can findxsound
at: xsound GitHub Repository - Open your server's
server.cfg
file and add the following line:ensure MusicMenu
Enter only the code following "watch?v=" in the YouTube URL. For example, if the URL is "https://www.youtube.com/watch?v=CODE", only enter "CODE".
Contributions are welcome! If you want to contribute to improving this music menu, feel free to create a pull request.
If you have questions, issues, or need assistance with using this script, don't hesitate to contact me on my Discord server.