mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 01:38:52 +00:00
13 lines
307 B
Lua
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) |