Use MyMultichar

Tutorial use MyMultichar Blackscreen Fix

If you use MyMultichar you need another change, for this navigate to the path:MyMultichar/client/client.lua in the line: 42 to 53

Replace:

client.lua
Citizen.CreateThread(function()
    while true do
        Citizen.Wait(0)
        if NetworkIsSessionStarted() then
            Citizen.Wait(100)
			gotCharData = false
            TriggerServerEvent('myMultichar:GetPlayerCharacters')
            setPlayerInVoid()
            return -- break the loop
        end
    end
end)

with

client.lua
 Citizen.CreateThread(function()
    while true do
        Citizen.Wait(0)
        if NetworkIsSessionStarted() then
            Citizen.Wait(100)
            gotCharData = false
            TriggerServerEvent('myMultichar:GetPlayerCharacters')
            setPlayerInVoid()
            --GMD_loadinscreen Change
            TriggerEvent("GMD_Loadingscreen:CloseUI")
            return -- break the loop
        end
    end
end)

Of course

you can also choose when the loading screen stops. with

TriggerEvent("GMD_Loadingscreen:CloseUI")

Last updated