[Release] [ESX] ESX_DRUGS (UPDATE version)

yeah in the config bro


Anyone know how to fix it ?

Not working for me, GG.

This is my error code and i have been working on it for hours and cant work out why

Please help

Hi can anyone help my i was changing coords on heroin field and are below the map

I have problem with icons in map.
I already deleted the marijuana icon, but when you delete it, another dot appears.
How do I eliminate that? I don’t want any mark.

if I want to grab things I get no animation and nothing I get my inventory

Does this have the weed store still and do I have to remove esx drugs the original version and will this conflict with esx drugs or can I change the name of this folder to something else?

Someone has the weight ready because this is not weights and it comes out by item since it gives me the following error
unknown

Try translate a en.lua

Not at problem but wanna know how to pick up more then one item at the time
like a random.math 1-5 or something

Replace all ~= With ==
Replace all .limit with .weight

Nevermind fixed it

I have this error now
SCRIPT ERROR: @esx_drugs4/server/weed.lua:24: attempt to compare nil with boolean

fn (@es_extended/server/functions.lua:14)

Not that anyone will answer or have a full direct solution but I can farm weed but when it comes to chemicals when the button E is pressed it sits there and does nothing

ALSO A WARNING DO NOT INSTALL THAT ES_EXTENDED AT THE TOP CAUSE INSTANT SERVER CRASH

Any error in server console / ingame console

Can you make a screen shot of that line in server/weed. lua

1 Like
		if xMarijuana.limit ~= -1 and (xMarijuana.count + 1) > xMarijuana.limit then

Replace
if xMarijuana.limit ~= -1 and (xMarijuana.count + 1) > xMarijuana.limit then

To
if xMarijuana.weight == -1 and (xMarijuana.count + 1) > xMarijuana.weight then

idk how yall are getting this to work tbh