diff --git a/client/main.lua b/client/main.lua index f903674e..178073de 100644 --- a/client/main.lua +++ b/client/main.lua @@ -49,6 +49,7 @@ end) RegisterNetEvent('esx_status:load') AddEventHandler('esx_status:load', function(status) + TriggerEvent('esx_status:loaded') for i=1, #Status, 1 do for j=1, #status, 1 do if Status[i].name == status[j].name then @@ -158,7 +159,9 @@ end) -- Loading screen off event AddEventHandler('esx:loadingScreenOff', function() - TriggerEvent('esx_status:loaded') + if not isPaused then + TriggerEvent('esx_status:setDisplay', 0.3) + end end) -- Update server diff --git a/html/css/app.css b/html/css/app.css index d92580fa..8b2aacf5 100644 --- a/html/css/app.css +++ b/html/css/app.css @@ -3,7 +3,7 @@ left : 23; bottom : 21%; width : 14.5%; - opacity: 0.3; + opacity: 0.0; } .status {