- update heroin client side
This commit is contained in:
1 parent
532ef823e2
commit
3c206491dd
2 files changed
+7
-2
No files matched your search
+4
-1
@@ -88,7 +88,10 @@ for k, v in pairs (locations.cutheroinone) do
|
||||
label = ps.lang('heroin.targetCutHeroin'),
|
||||
icon = 'fa-solid fa-seedling',
|
||||
action = function()
|
||||
if not ps.hasItem('bakingsoda') then return end
|
||||
if not ps.hasItem('bakingsoda') then
|
||||
ps.notify(ps.lang('Catches.itemMissings', ps.getLabel('bakingsoda')), 'error')
|
||||
return
|
||||
end
|
||||
if not ps.progressbar(ps.lang('heroin.pbCutHeroin'), 4000, 'uncuff') then return end
|
||||
TriggerServerEvent("md-drugs:server:cutheroin", k)
|
||||
end,
|
||||
|
||||
Reference in new issue
Block a user