How do I add items to my phpMyAdmin Datatable

In the instructions for esx_illegal_drugs it says to import esx_illgeal_drugs.sql into my database upon doing so I get and error

here is the files text

USE essentialmode;

INSERT INTO items (name, label, limit) VALUES
(‘weed’, ‘Weed (1G)’, 420),
(‘weed_pooch’, ‘Bag of weed (28G)’, 15),
(‘coke’, ‘Coke (1G)’, 420),
(‘coke_pooch’, ‘Bag of coke (28G)’, 15),
(‘meth’, ‘Meth (1G)’, 420),
(‘meth_pooch’, ‘Bag of meth (28G)’, 15),
(‘opium’, ‘Opium (1G)’, 420),
(‘opium_pooch’, ‘Bag of opium (28G)’, 15)
;

Remove USE essentialmode, that database doesn’t exists at Zap

can you make a new pastebin for me i tried to remove it still nothing heres my paste
https://pastebin.com/bH3jGn81

image

It lists the issue right there, the items, or at least some of them, are already in your database.

1 Like

but where?

Alright so i figured it out it was just a bug the item is actually there but its not showing on the table. Apparently this wasent the problem why I still cant collect drugs as a unemployed. hmmm

INSERT INTO items (name, label, limit) VALUES
(‘weed’, ‘Weed (1G)’, 420),
(‘weed_pooch’, ‘Bag of weed (28G)’, 15),
(‘coke’, ‘Coke (1G)’, 420),
(‘coke_pooch’, ‘Bag of coke (28G)’, 15),
(‘meth’, ‘Meth (1G)’, 420),
(‘meth_pooch’, ‘Bag of meth (28G)’, 15),
(‘opium’, ‘Opium (1G)’, 420),
(‘opium_pooch’, ‘Bag of opium (28G)’, 15)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.