refactor: Remove Stupid LoadingScreenOff thing

This commit is contained in:
MiddleSkillz
2021-05-06 01:43:11 -06:00
parent 07dd52d78a
commit 2aed49b5eb
+3 -4
View File
@@ -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()