- update heroin client side

This commit is contained in:
Mustache Dom committed 2025-09-11 21:44:26 -06:00
1 parent 532ef823e2
commit 3c206491dd
2 files changed
+6 -1

No files matched your search

+4 -1
View File
@@ -88,7 +88,10 @@ for k, v in pairs (locations.cutheroinone) do
label = ps.lang('heroin.targetCutHeroin'), label = ps.lang('heroin.targetCutHeroin'),
icon = 'fa-solid fa-seedling', icon = 'fa-solid fa-seedling',
action = function() 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 if not ps.progressbar(ps.lang('heroin.pbCutHeroin'), 4000, 'uncuff') then return end
TriggerServerEvent("md-drugs:server:cutheroin", k) TriggerServerEvent("md-drugs:server:cutheroin", k)
end, end,
+2
View File
@@ -4,9 +4,11 @@ Build: 4.0.0
Newest Build: 4.0.1 Newest Build: 4.0.1
- fix saving location of pill presses in xtc - fix saving location of pill presses in xtc
- Adjust XTC item crafting - Adjust XTC item crafting
- notify after check for heroin baking soda
- HOW TO UPDATE BELOW - HOW TO UPDATE BELOW
- bump version in fxmanifest from 4.0.0 to 4.0.1 - bump version in fxmanifest from 4.0.0 to 4.0.1
- redownload and add these files - redownload and add these files
- client/xtc.lua - client/xtc.lua
- server/xtc.lua - server/xtc.lua
- version.txt - version.txt
- client/heroin.lua