Hello,
Today I’m releasing ESX Weedshop.
How it works
‘Job’ works through a storage system. Players can sell their weed at the coffeeshop for some quick cash, this weed will eventually be added into the storage of the shop. With weed, you’re able to roll joints as a shop employee. Joints get selled at the register, which also has an amount of cash money inside it. See video demo for full coverage.
Video demo
If video doesn’t work, click here
Dependencies
- es_extended
- Free MLO I used, you can change this to your likings: https://www.gta5-mods.com/maps/mlo-legion-weed-clinic
- mysql_async
- progressBars
Installation
Import the .sql file in your database. Drag and drop the resource in your ESX folder and start it by using ensure esx_weedshop
in your server.cfg file.
For the MLO: download the latest version on GTA5-Mods, grab the FiveM version and paste it in your assets folder. Start it using ensure int_weed
in your server.cfg file.
Configuration
In config.lua
, following can be changed:
Config.useLicense
= true -> enable/disable requirement of item ‘weedlicense’ to sell weed.
Config.WeedItem = "weed"
-> the item name of weed in your server, mostly just ‘weed’.
Config.WeedPrice = 3
-> price per weed, equals to amount player has times 3.
Config.JointPrice = 20
-> price for one joint.
Config.JobName = "weedshop"
-> don’t change this unless you already have a job set up in your server.
Config.ShopName = "Coffeeshop The Bulldog"
-> name of the shop, used as blipname.
CHANGELOG
V1.2 CHANGELOG:
- Add item ‘weedlicense’ as required item to be able to sell weed at the coffeeshop
- Add config option
Config.useLicense
to enable/disable the required item
Github: https://github.com/arnevdaele/esx_weedshop
Need help? Reply to this topic.
Laters,
Arne