feat(client): load effect

This commit is contained in:
Douth
2022-04-25 13:04:50 -05:00
parent 0ce0070bff
commit 0d79792399
+13
View File
@@ -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)