0.0.1
This commit is contained in:
13
resources/[core]/esx_loadingscreen/client/client.lua
Normal file
13
resources/[core]/esx_loadingscreen/client/client.lua
Normal 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)
|
||||
Reference in New Issue
Block a user