From 6e072d6f83c01bbff3af73c5dfafa0a4cfa5fdf9 Mon Sep 17 00:00:00 2001 From: ArkSeyonet <31637812+ArkSeyonet@users.noreply.github.com> Date: Fri, 15 May 2020 17:21:49 -0500 Subject: [PATCH] Update esx_status Edited to not show UI until loading screen is off --- client/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/main.lua b/client/main.lua index c97b61db..f903674e 100644 --- a/client/main.lua +++ b/client/main.lua @@ -156,8 +156,8 @@ Citizen.CreateThread(function() end end) --- Loaded event -Citizen.CreateThread(function() +-- Loading screen off event +AddEventHandler('esx:loadingScreenOff', function() TriggerEvent('esx_status:loaded') end)