Esx_unicornjob problem [HELP]

I got a problem… im dealing with it 2 weeks now …
How can i add Dj ? or play music on the cub? im so confused…
could someone help me ???
i tried by using esx_jb_dj but i can not understand how to install it

image
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)

thanks for answering!!
my problem is that idk where exactly i have to add this line TriggerEvent(‘esx_jb_dj:enabledjbooth’, true)" and in which line too…

u should add this line to your unicornjob client.lua :smiley:

first of all there is not client.lua
as far as i know i think i have to add it on /client/main.lua
but i dont know where… in which line???

Like this :smiley:

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)

    TriggerEvent('esx_jb_dj:enabledjbooth', true)

  else

    ESX.ShowNotification(_U('no_outfit'))

  end

  if job ~= 'citizen_wear' and job ~= 'barman_outfit' then

    setClipset(playerPed, "[email protected]@")

  end

else

  if Config.Uniforms[job].female ~= nil then

    TriggerEvent('skinchanger:loadClothes', skin, Config.Uniforms[job].female)

    TriggerEvent('esx_jb_dj:enabledjbooth', true)

  else

    ESX.ShowNotification(_U('no_outfit'))

  end

  if job ~= 'citizen_wear' and job ~= 'barman_outfit' then

    setClipset(playerPed, "[email protected]@")

  end

end

end)

end

nothing :confused:

image

Than idk, i tried my best. I’m not good in develop srry :slight_smile: I hope u get a good answer

1 Like

ah… nvm but thank you veryyy much for helping me!!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.