[Release] [ESX] ESX_DRUGS (UPDATE version)

Replace ~= with == in all .lua files,
Replace .limit with .weight in all .lue files

Hello,
I have a problem with the following version of esx drugs, everything works but when I open the map on fivem I don’t see the names regarding the collection and the process! Can anyone help me? only the icon appears!

Hi, can someone tell me how to actually change the prices of the drugs when selling to the drug dealer?

Can I change the coords to other places?

Hey dude i have the same problem ca you help me and i can help you

Did you ever figure out what the issue was? I ran into this issue today

I have this problem can you help me. I have essentialmode and anything

Take out ‘use essential mode at top’ make sure to click on your db

1 Like

essentialmode need be replaced with the name of your database.

Or you can go to toyr database, then go to “sql” and paste the querys

1 Like

How to add column ‘Limit’


Thanks in advance :slight_smile:
BTW Ty for the previous question.

Ty so much

ty so much

You are using weigth system in your database. Download the latest release which is adapted to the weight and not the limit system

This is the latest release and it doesn’t have the ’ weight system.

Anyway i do it by my self
Ty


i get this error

Last version already hace weight system

INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
	('cannabis', 'Cannabis', 3, 0, 1),
	('marijuana', 'Marijuana', 2, 0, 1),
	('chemicals', 'Chemicals', 0.5, 0, 1),
	('chemicalslisence', 'Chemicals license', 0, 0, 1),
	('moneywash', 'MoneyWash License', 0, 0, 1),
	('coca_leaf', 'Coca Leaf', 3, 0, 1),
	('coke', 'Coke', 3, 0, 1),
	('poppyresin', 'Poppy Resin', 0.5, 0, 1),
	('heroin', 'Heroin', 2, 0, 1),
	('lsa', 'LSA', 1, 0, 1),
	('lsd', 'LSD', 1, 0, 1),
	('meth', 'Meth', 3, 0, 1),
	('hydrochloric_acid', 'HydroChloric Acid', 2, 0, 1),
	('sodium_hydroxide', 'Sodium Hydroxide', 2, 0, 1),
	('sulfuric_acid', 'Sulfuric Acid', 2, 0, 1),
	('thionyl_chloride', 'Thionyl Chloride', 0.5, 0, 1)
;

INSERT INTO `licenses` (`type`, `label`) VALUES
	('weed_processing', 'Weed Processing License')
;

Line 58 is not exist in the original file https://github.com/DoPeMan17/esx_drugs/blob/master/server/main.lua


in my file it does exist

Try with the last release https://github.com/DoPeMan17/esx_drugs/releases