[Release] [ESX] ESX_DRUGS (UPDATE version)

The money wash is not popping up or anything the only one that was worked is drug dealer



1 Like

when are they coming i need them xd

Hello i have this probleme when i cant to change drugs :

[ script:es_extended] SCRIPT ERROR: @es_extended/server/classes/player.lua:281: attempt to index a nil value (local ‘testItemObject’)

[ script:es_extended] > ref (@es_extended/server/classes/player.lua:281)

[ script:es_extended] > ref (@esx_drugs/server/heroin.lua:24)

[ script:es_extended] > fn (@es_extended/server/functions.lua:14)

how did u fix it?

For all of you having problems with SQL i found a simple error use the attached for your sql data just copy and paste it in the sql the script comes with meaning open the esx_drugs.sql provided in the script, select all that’s in there and delete it, then copy and paste this and save it.

To be more clear for the ones that dont know how to read sql errors the problem was that there was only 4 columns in the items line, however there was 5 in the data lines also there was no comma at the end of the weed license line I.E below

PROBLEM

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

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

SOLUTION BELOW COPY PASTE IN THE .sql then save it, before you upload it to you database please look in your items table and be sure there is already not any names you see in the sql exsisting if so examine it closely if its 100% the same as in the name and label I.E 'cannabis', 'Cannabis' or 'marijuana', 'Marijuana' select those items in the table and delete them because if you do not you will get a duplicate item error check like i have stated above then upload it and your good to go!!

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

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

EDIT Also i forgot to mention if you see in the .sql a name like the below posted image remove it completly or put your database name in the ’ ’ area I.E USE YOUR_DATABASE_NAME; also the posted image below is the sql with the errors in it.

image

What up, I have the Problem, that the weed i harvest is not added to my inventory.
I checked the client and server lua, the functions are correct (i guess).
I do not get any kind of error in my console or my txAdmin.

Could the problem be, that I am using esx_legacy?

When i go to weed processing there is no door or anything to get to the blip. Is there a YMAP or MOL I need to install?

[ c-resources-core] Could not find dependency es_extended for resource esx_drugs.
[ citizen-server-impl] Couldn’t start resource esx_drugs.

can anyone help this problem?


I need help with this error

Hello, my friend bought this script today, and we get 2 errors. Please help.

ERRORS:

[script:VD-AdvancedFa] SCRIPT ERROR: @VD-AdvancedFarming/server/main.lua:57: attempt to call a nil value (field ‘canCarryItem’)
[script:VD-AdvancedFa] > TriggerServerCallback (@es_extended/server/functions.lua:33)
[script:VD-AdvancedFa] > handler (@es_extended/server/common.lua:88)
[ script:es_extended] SCRIPT ERROR: error object is not a string

[script:VD-AdvancedFa] SCRIPT ERROR: @VD-AdvancedFarming/server/lsd.lua:53: attempt to call a nil value (field ‘showNotification’)
[script:VD-AdvancedFa] > fn (@es_extended/server/functions.lua:14)
[ script:es_extended] SCRIPT ERROR: error object is not a string
[ script:es_extended] (nil stack trace)

New Script Link [https://vincent-development.tebex.io/category/2270889]

how this become a paid script lol? you nuts bro

i just purchased this but i am having a database issue it just says unknown database error also it’s saying i’m not entitled to use it why i bought it ?

USE `es_extended`;

#1049 - Unknown database 'es_extended'

Hello i have a problem with this script too. Whenever i try to process weed or any drug at all it does nothing. it doesnt take away my drugs and it doesnt give me weed_pooch for example.It should give me weed_pooch if i proces weed but nothing hapens. pls help me

1 Like

you get it going? works for me