mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:18:53 +00:00
refactor: Remove Stupid LoadingScreenOff thing
This commit is contained in:
+3
-4
@@ -72,6 +72,9 @@ AddEventHandler('esx:playerLoaded', function(playerData, isNew)
|
||||
-- If they aren't new put that code here.
|
||||
end
|
||||
end)
|
||||
if Config.EnableHud then
|
||||
ESX.UI.HUD.SetDisplay(1.0)
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterNetEvent('esx:setMaxWeight')
|
||||
@@ -370,10 +373,6 @@ if Config.EnableHud then
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
AddEventHandler('esx:loadingScreenOff', function()
|
||||
ESX.UI.HUD.SetDisplay(1.0)
|
||||
end)
|
||||
end
|
||||
|
||||
function StartServerSyncLoops()
|
||||
|
||||
Reference in New Issue
Block a user