From 33a6ca40c76caca95015b9a965c2e432b8fdd227 Mon Sep 17 00:00:00 2001 From: solareon <769465+solareon@users.noreply.github.com> Date: Fri, 19 Jan 2024 00:08:59 +0000 Subject: [PATCH] fix: remove stash and evidence --- client/job.lua | 42 ------------------------------------------ 1 file changed, 42 deletions(-) diff --git a/client/job.lua b/client/job.lua index 3db9e5b..2781d72 100644 --- a/client/job.lua +++ b/client/job.lua @@ -482,48 +482,6 @@ else end CreateThread(function() - -- Evidence Storage - for _, v in pairs(sharedConfig.locations.evidence) do - lib.zones.box({ - coords = v, - size = vec3(2, 2, 2), - rotation = 0.0, - debug = config.polyDebug, - onEnter = function() - if QBX.PlayerData.job.type == 'leo' and QBX.PlayerData.job.onduty then - inPrompt = true - lib.showTextUI(Lang:t('info.evidence')) - uiPrompt('evidence') - end - end, - onExit = function() - lib.hideTextUI() - inPrompt = false - end - }) - end - - -- Personal Stash - for _, v in pairs(sharedConfig.locations.stash) do - lib.zones.box({ - coords = v, - size = vec3(2, 2, 2), - rotation = 0.0, - debug = config.polyDebug, - onEnter = function() - inStash = true - inPrompt = true - lib.showTextUI(Lang:t('info.stash_enter')) - uiPrompt('stash') - end, - onExit = function() - lib.hideTextUI() - inPrompt = false - inStash = false - end - }) - end - -- Police Trash for i = 1, #sharedConfig.locations.trash do local v = sharedConfig.locations.trash[i]