Page 1 of 1

esx_drugs

Posted: Thu Feb 26, 2026 6:52 pm
by greenie
https://github.com/esx-framework/ESX-Le ... /esx_drugs

Who loves some good old Marijuana? I hope you do! Cause this resource lets you grow, pick, process and roll your own to either use for personal use or do some shady deals to sell off your stock to earn lots of money!

Configuration
Config.Delays
type: table
default: {WeedProcessing = 1000 * 7}
description: The time it takes to process the weed in milliseconds.
Config.DrugDealerItems
type: table
default: {marijuana = 91}
description: The items the drug dealer will buy from you.
Config.LicenseEnable
type: boolean
default: true
description: The player will be required to buy a license in order to process drugs. Requires esx_license
Config.LicensePrices
type: table
default: {weed_processing = {label = TranslateCap('license_weed'), price = 15000}}
description: The price of the license.
Config.GiveBlack
type: boolean
default: true
description: Give black money when selling drugs.
Config.Marker
type: table
description: The marker settings.
parameters:
Distance
type: float
default: 100.0
description: The distance to interact with the marker.
Type
type: integer
default: 1
description: The marker type.
Color
type: table
description: The marker color.
default: {r=60,g=230,b=60,a=255}
Size
type: vector3
default: vector3(1.5,1.5,1.0)
Config.SellMenu
type: table
description: The sell menu settings.
parameters:
Min
type: integer
default: 1
description: The minimum amount of drugs to sell.
Max
type: integer
default: 10
description: The maximum amount of drugs to sell.