Skip to content

Commit

Permalink
fix: remove stash and evidence
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon committed Jan 19, 2024
1 parent 86d5c71 commit 33a6ca4
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions client/job.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 33a6ca4

Please sign in to comment.