Hey guys,
with this post we want to present myDJ!
Update 23.01.2022:
The script is now available for ESX and QBCore.
You can find the store links below.
Features of myDJ:
- You can create as many playlists as you want
→ When you select a song from a playlist, the next title will automatically start playing when the selected song is over → Autoplay function - Insert and delete songs from playlists very easy with one click
- You can set up zones for the DJ desks with configurable volume ranges
- There are buttons to pause the music, to skip some seconds, to rewind and to change the volume
- Due to the integration of the xsound API you can simply listen to every youtube video (which isn’t copyright restricted) or discord, radio stream/file.
- You can restrict the DJ Desks to certain jobs
Showcase:
DJ Interface:
Synchronization:
- Of course the sound and all applied changes like changed volume, skipped seconds and so on are synced between all players. And the sound volume will be adapted depending on how far away you are from the DJ desk.
When a song is played the script will run between 0.03-0.04ms
and during idle at round about 0.02ms
Configuration:
You can simply create as many DJ desks as you want in the Config file:
Example DJ desk
Config.DJPositions = {
{
name = 'bahama',
pos = vector3(-1381.01, -616.17, 31.5),
requiredJob = nil,
range = 25.0,
volume = 1.0,
}
}
You can also open the UI by triggering the client-side event myDj:open
Dependencies:
- ESX: Is only used for server-side callbacks and job requirement checks
- xsound
Price: 9.99€ + tax
Download at https://luis-scripts.tebex.io/package/4535238 (ESX)
Version for QBCore: https://luis-scripts.tebex.io/package/4919928
Feel free to check out my other scripts
myMinijobs
myMailing
myJobsystem
myCrafting
myImpound
myDrugs
myClothesshop
myProperties
myMapbuilder
myShops
myMultichar
myBills
EnhancedBarbershop
myATMRobbery