mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 10:18:54 +00:00
feat(client): load effect
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user