[RELEASE]esx_jb_dj

#42

I only added this code. I didn’t want it to work only when wearing clothes but even though I have the job I have to restart the unicorn job resource.
TriggerEvent(‘esx_jb_dj:enabledjbooth’, true)

#43

Well me too, didn’t found any solution for that yet, but players that do not have the unicorn job can see the Marker too… This is weird but no problem when I have rights to restart stuff.

1 Like
#44

if you don’t want to use the enable djbooth, just edit this line (put anable = true)

#45

how to disable the default GTA5 music in the galaxy club? I can hear it in the background

5 Likes
#46

i have the same problem

1 Like
#47

Hello, @Jager_Bom

I love your script but I have one question for u

Musics volume very low how can I up volume?

#48

When i add new songs they don’t play at all. Any ideas on how to fix?

#49

Do like i did no whitespaces and si on

#50

See original post it is explained over there

#51

I made the song names one word so there would be no spaces in the mp3 file name

#52

This is my song list cfg, the original songs play, but the ones i added don’t, Any ideas?

Config.Songs = {
	{song = "ArianaGrande-SideToSide.mp3", label ="ArianaGrande - Side to side"},
	{song = "venga.mp3", label ="Venga Boys - We Like To Party"},
	{song = "Blitzkrieg.mp3", label ="Blitzkrieg Bop"},
	{song = "wildthings.mp3", label ="Alessia Cara - Wild Things"},
	{song = "irish.mp3", label ="Gaelic Storm"},
	{song = "50cent.mp3", label ="50 cent - in da club"},
	{song = 'imaginedragonsbeliever.mp3', label ="Imagine Dragons - Believer"},
	{song = 'macklemoreryanlewisthriftshopfeatwanz.mp3', label =" Macklemore & Ryan Lewis - Thrift Shop"},
	{song = 'scorpinsrockyoulikeahurricane.mp3', label ="Scorpins - Rock You Like A Hurricane"},
}
#53

turn off song default gta 5 for unicornvanilla? thanks nice script :*

#54

add them in __resource

#55

That could be the problem maybe

#56

Hey, I really can’t figure it out how to implement this scipt to my server
Contact me on discord please : Vague#2777

#57

Its just drag and drop. …

#58

It is not working for me… I install everything i added to esx_police client/main.lua TriggerEvent('esx_jb_dj:enabledjbooth', true) but it is not working??

#59

lol police going to play dj ? haha well it must work, becasue working for everyone else. you’ve put it then in wrong section of your code … whre did you put it

#60

hahah I’m just testing it on test server I will put it on main server esx_unicorn but on test server I don’t have unicorn :smiley:
It is like this in client/main.lua

function setUniform(job, playerPed)
	TriggerEvent('skinchanger:getSkin', function(skin)
		if skin.sex == 0 then
			if Config.Uniforms[job].male ~= nil then
				TriggerEvent('skinchanger:loadClothes', skin, Config.Uniforms[job].male)
			else
				ESX.ShowNotification(_U('no_outfit'))
			end

			if job == 'bullet_wear' then
				SetPedArmour(playerPed, 100)
			end
		else
			if Config.Uniforms[job].female ~= nil then
				TriggerEvent('skinchanger:loadClothes', skin, Config.Uniforms[job].female)
			else
				ESX.ShowNotification(_U('no_outfit'))
			end

			if job == 'bullet_wear' then
				SetPedArmour(playerPed, 100)
                                TriggerEvent('esx_jb_dj:enabledjbooth', true)
			end
		end
	end)
end
#61

Or maybe if it possible to make this available for everyone so that everyone can play music ?