qb_apartments

Thanks TNGAM1013 for snippet.

qb-apartments

  1. Go to qb-apartments and open client/main.lua

  2. Go to line 559 and add your code under line 561

Comment out > --TriggerEvent('qb-clothing:client:openOutfitMenu') and add your code CreateThread(function() TriggerEvent("rcore_clothes:openOutfits") end) under the commented out

Should Look like this

RegisterNetEvent('apartments:client:ChangeOutfit', function()
    TriggerServerEvent("InteractSound_SV:PlayOnSource", "Clothes1", 0.4)
    --TriggerEvent('qb-clothing:client:openOutfitMenu')
    CreateThread(function()
        TriggerEvent("rcore_clothes:openOutfits")
    end)
end)

Last updated