mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
Merge pull request #220 from douth-c/main
refractor(loadingscreen): updated client files for 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)
|
||||
@@ -0,0 +1,3 @@
|
||||
Config = {}
|
||||
|
||||
Config.Fade = true
|
||||
@@ -1,17 +1,20 @@
|
||||
game 'common'
|
||||
version '1.3.0'
|
||||
fx_version 'cerulean'
|
||||
games { 'gta5' }
|
||||
|
||||
author 'ESX-Framework'
|
||||
version '1.2.0'
|
||||
|
||||
loadscreen 'index.html'
|
||||
loadscreen_manual_shutdown 'yes'
|
||||
client_script 'client.lua'
|
||||
|
||||
shared_script 'config.lua'
|
||||
|
||||
loadscreen_manual_shutdown "yes"
|
||||
|
||||
client_script 'client/client.lua'
|
||||
|
||||
files {
|
||||
'index.html',
|
||||
'./vid/*.mp4',
|
||||
'./vid/*.webm',
|
||||
'./js/index.js',
|
||||
'./css/index.css',
|
||||
'index.html',
|
||||
}
|
||||
'./css/index.css'
|
||||
}
|
||||
Reference in New Issue
Block a user