From cd93ea3a383771c70c2850595c112ec7052fd22c Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Wed, 17 Jan 2024 17:49:42 +0000 Subject: [PATCH] fix esx progressbar triggering with ox --- functions.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/functions.lua b/functions.lua index 7efdf7a..4eb6ce5 100644 --- a/functions.lua +++ b/functions.lua @@ -287,9 +287,7 @@ function progressBar(data) lockInv(false) if data.cam then stopTempCam(data.cam) end end - - exports["esx_progressbar"]:Progressbar(message, length, Options) - + elseif Config.System.ProgressBar == "qb" then Core.Functions.Progressbar("mechbar", data.label, @@ -820,4 +818,4 @@ function StopEffects() -- Used to clear up any effects stuck on screen AnimpostfxStop('RaceTurbo') AnimpostfxStop('FocusIn') AnimpostfxStop('Rampage') -end \ No newline at end of file +end