From 3c206491dd91543655f80e9b2aa8e2f941e1b216 Mon Sep 17 00:00:00 2001 From: Mustache Dom <123716453+Mustachedom@users.noreply.github.com> Date: Thu, 11 Sep 2025 21:44:26 -0600 Subject: [PATCH] - update heroin client side --- client/heroin.lua | 5 ++++- version.txt | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) 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