updated a lot

This commit is contained in:
Mustache Dom committed 2024-10-28 14:11:49 -07:00
1 parent 99d0ae58be
commit 70c3d9ae15
13 files changed
+358 -317

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ function Cornersell()
local item, amount, price = lib.callback.await('md-drugs:server:cornerselling:getAvailableDrugs', false)
if item == 'nothing' then Notify(Lang.Cornerselling.nodrugs, 'error') sell = false FreezeEntityPosition(targ, false) ClearPedTasks(targ) return false end
local options = {
{ label = string.format(Lang.Targets.CornerSell.sell, amount, GetLabel(item), price), icon ="fa-solid fa-money-bill",
{ label = string.format(Lang.targets.CornerSell.sell, amount, GetLabel(item), price), icon ="fa-solid fa-money-bill",
action = function() sellDrug(item, amount, price, targ) end,
canInteract = function()
if not targbusy then return true end end,