Files
esx_core/esx_loadingscreen/client/client.lua
T
2023-01-18 15:16:23 +01:00

13 lines
307 B
Lua

local ClientLoadESX = false
AddEventHandler("playerSpawned", function ()
if not ClientLoadESX then
ShutdownLoadingScreenNui()
ClientLoadESX = true
if Config.Fade then
DoScreenFadeOut(0)
Wait(3000)
DoScreenFadeIn(2500)
end
end
end)