Today i want to share my Marketplace script with you.
I am not a huge fan of fancy ui so i make a marketplace using ox_lib context menu.
The script is well optimized and good configurable. Also there is a german and an english translation in the config.
If you have any ideas about future updates let me know in the coments and i try my best also let me hear what you think about this script or what could be better!
The code is 100% open source so do what you want with it.
@madscript i upload a new version of the script with your idea. I tested it a few times and it works for me. if you have any problems, let me know. also if you have any other suggestions!
i have new idea , can you make config to change currency to buy item in marketplace ? ( like i want to make black marketplace i will change currency to dirty_money
That’s the correct sql. with one provided it does not work
CREATE TABLE marketplace (
id INT NOT NULL AUTO_INCREMENT,
identifier VARCHAR(255) NOT NULL,
item VARCHAR(100) NOT NULL,
label VARCHAR(100) NOT NULL,
amount INT NOT NULL,
price DECIMAL(10, 2) NOT NULL,
PRIMARY KEY (id)
);