Files
esx_core/[esx]/esx_loadingscreen/client/client.lua
T
2022-04-25 13:15:12 -05: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)