Installation
Download
To find and use the assets, you must have made the purchase from your own keymaster which you have your server key in. Otherwise you will not be able to use the asset.Once you make the purchase, you'll be able to access it from your keymaster. If you have more issues regarding FiveM Escrow, accounts or asset startup errors you can go here and see if any of them match your case, since Escrow requires some basics. Such as your keymaster account, your license key, etc.
Dependencies
This assets has depencies such as frameworks like QBCore and ESX also MySQL connections. You can only use this script with qb-core or es_extended based servers.
MySQL
This asset needs MySQL connections so you need to have one of these resuources:
- oxmysql
- mysql_async
- ghmattimysql
Ensuring
To ensure and use this script in your server, simply add this code in your server.cfg file, under your MySQL and framework scripts.
ensure aty_musicplayer
Setting Up The Config
- OnlyVehicle, if you set this option to true then the players will be able to use the music player in the vehicle only.
- PlayLocally, this option decides if the music is heard by everyone or the player it self only.
- BoomBoxItem, is the spawn name of the boombox item.
- BoomBoxHas, is the prop name of the boombox.