qb_apartments
Thanks TNGAM1013 for snippet.
qb-apartments
Go to qb-apartments and open client/main.lua
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
Was this helpful?