If you using qb-multicharacter you need change this
Open @qb-multicharacter/client/main.lua
Search for qb-multicharacter:client:closeNUIdefault
Replace the trigger with this one below
RegisterNetEvent('qb-multicharacter:client:closeNUIdefault', function() -- This event is only for no starting apartmentsDeleteEntity(charPed)SetNuiFocus(false, false)DoScreenFadeOut(500)TriggerServerEvent('QBCore:Server:OnPlayerLoaded')TriggerEvent('QBCore:Client:OnPlayerLoaded')Wait(500)openCharMenu()SetEntityVisible(PlayerPedId(), true)Wait(500)DoScreenFadeIn(250)TriggerEvent('qb-weathersync:client:EnableSync')TriggerEvent('vms_charcreator:openCreator')end)
qb-apartaments
If you have qb-apartaments, open config of this script and set this: