diff --git a/[esx]/esx_loadingscreen/client/client.lua b/[esx]/esx_loadingscreen/client/client.lua new file mode 100644 index 00000000..2aac97be --- /dev/null +++ b/[esx]/esx_loadingscreen/client/client.lua @@ -0,0 +1,13 @@ +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) \ No newline at end of file