features:
code optimised by ft libs
when you walk away from dancefloor you will hear less music
enable dj booth for the job you want
simple menu for choosing the song you want
you can play, pause, stop a song
other features will maybe implemented
to activate dj booth: paste this line in the job you want:
TriggerEvent('esx_jb_dj:enabledjbooth', true)
if you take your citizen clothes deactivate dj booth and paste that code:
TriggerEvent('esx_jb_dj:enabledjbooth', false)
DOWNLOAD:
SHOWCASE (from early version)
https://plays.tv/s/M6w2ge3I40Tz
INSTALLATION:
ft_libs dependency
start yourjob
start ft_libs --keep always as last ressource
if you want to restart esx_jb_dj: restart esx_jb_dj, then you must restart ft_libs after it
if you think you donc hear any music, comment out these 2 lines and comment in the next two lines:
end
--fonctions jobs
RegisterNetEvent('esx_jb_dj:enabledjbooth')
AddEventHandler('esx_jb_dj:enabledjbooth', function(enabled)
for k,v in pairs(Config.nightclubs) do
if enabled then
exports.ft_libs:EnableArea("esx_jb_dj_"..k.."_djbooth")
else
exports.ft_libs:DisableArea("esx_jb_dj_"..k.."_djbooth")
end
end
end)
RegisterNetEvent("ft_libs:OnClientReady")
AddEventHandler('ft_libs:OnClientReady', function()
for k,v in pairs (Config.nightclubs) do
exports.ft_libs:AddArea("esx_jb_dj_"..k.."_dancefloor", {
trigger = {
PS: do not switch too often the music because then you Will Get an in promise error and no idea how to correct that
25 Likes
Awesome as always, love your scripts.
Will use this for sure.
A question, what’s the resource for the bag kg/limit on top of your money display?
Thanks!
nando
March 6, 2019, 1:17am
6
where I glue the tails into the work, tried but it does not work I also have a requirement
it would be cool to implement this feature on vehicles like an MP3 player
That is so cool
Awesome work… Thanks for sharing it.
Ill use this for sure!
5 stars release
i have no idea how to for install, i’m stupid and safe is very simple xD
1 Like
You should post this to esx discord
1 Like
This might be the new way of streaming sound, sirens etc. Great!
So is it attached to that specific club? How do we access that club?
im use
https://es.gta5-mods.com/maps/bahama-mamas-fivem
and
Update 2021
Use bob74_ipl instead, this script is VERY outdated!!
The ultimate San Andreas IPL & interior loader for FiveM. The IPLs in FiveM that are loaded by default in vanilla GTA V are not loaded which results in a lot of buggy places with missing interior and more.
This script is contains bob74_ipl , iplLoader and other known IPL lists for the complete IPL loader.
Github repository (again this script is outdated and discontinued!, use bob74_ipl instead!)
Comparison
IPL List
All apa…
Got it I do appreciate sending that over. One more question, where do we paste the code in the job file? Is it on the config.lua, client or server .lua?
Client file in your work_wear menu
a vrp version? its excelent!
I did attach it To unicorn job. And toi can implement it where you want. Locations i made is Bahamas, tequilla and a nightclub close To the airport
Awesome release! I will give it a try!
But is it only me, or does the video has no Sound? ^^
Take a
tayhd
March 6, 2019, 10:43am
19
First off, Awesome resource.
I recommend providing a link to the dependency for FT_LIBS.
I did manage to get it to work after restarting the job that TriggerEvent('esx_jb_dj:enabledjbooth', true)
is called on. So the question being, does the resource need to start after the job the line is in or prior? Currently it is used in esx_policejob and the configuration for the resource load follow:
ft_libs…
esx_jb_dj…
esx_policejob…
etc.
Any solution you can provide? Thanks.
Also a great resource, I appreciate it.
answered you in main post
2 Likes