diff --git a/client/heroin.lua b/client/heroin.lua index e115fc5..fd0b503 100644 --- a/client/heroin.lua +++ b/client/heroin.lua @@ -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, diff --git a/version.txt b/version.txt index 1e95ee9..55a7207 100644 --- a/version.txt +++ b/version.txt @@ -4,9 +4,11 @@ Build: 4.0.0 Newest Build: 4.0.1 - fix saving location of pill presses in xtc - Adjust XTC item crafting +- notify after check for heroin baking soda - HOW TO UPDATE BELOW - bump version in fxmanifest from 4.0.0 to 4.0.1 - redownload and add these files - client/xtc.lua - server/xtc.lua -- version.txt \ No newline at end of file +- version.txt +- client/heroin.lua \ No newline at end of file