diff --git a/client/weed.lua b/client/weed.lua index c8d56b5..f623632 100644 --- a/client/weed.lua +++ b/client/weed.lua @@ -7,7 +7,7 @@ for k, v in pairs (locations.WeedDry) do label = ps.lang('weed.targetDry'), action = function() if not ps.hasItem('wetcannabis', 1) then - ps.notify(ps.lang('weed.nodry'), "error") + ps.notify(ps.lang('weed.noDry'), "error") return end if drying then return end @@ -19,14 +19,20 @@ for k, v in pairs (locations.WeedDry) do Wait(math.random(1000,5000)) ps.notify(ps.lang('weed.take'), "success") ps.entityTarget(weedplant, { - icon = "fa-solid fa-cannabis", - label = ps.lang('weed.targetDryed'), - action = function() - DeleteEntity(weedplant) - drying = false - TriggerServerEvent('md-drugs:server:dryoutweed') - end, + { + icon = "fa-solid fa-cannabis", + label = ps.lang('weed.targetDryed'), + action = function() + DeleteEntity(weedplant) + drying = false + TriggerServerEvent('md-drugs:server:dryoutweed') + end, + } }) + end, + canInteract = function() + if drying then return false end + return true end } }) diff --git a/fxmanifest.lua b/fxmanifest.lua index a7f9bec..5ab108d 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -3,7 +3,7 @@ author "mustache_dom" description "drugs by mustache dom" fx_version "cerulean" game "gta5" -version '4.0.1' +version '4.0.2' client_scripts { 'client/functions.lua', 'client/plantSpawns.lua', diff --git a/version.txt b/version.txt index 55a7207..0385d03 100644 --- a/version.txt +++ b/version.txt @@ -1,7 +1,25 @@ Build: 4.0.0 - update to ps_lib -Newest Build: 4.0.1 +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 +- client/heroin.lua + +Newest Build: 4.0.2 +- updated qb items +- updated ox items +- ABOVE IS JUST LABEL CHANGES AND IMAGE CHANGES NOT NECESSARY +- fix for weed drying + +- if you didnt update 4.0.1 here is the thing you need - fix saving location of pill presses in xtc - Adjust XTC item crafting - notify after check for heroin baking soda