esx_drugs
https://github.com/esx-framework/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.
- type:
Config.DrugDealerItems
- type:
table
- default:
{marijuana = 91}
- description: The items the drug dealer will buy from you.
- type:
Config.LicenseEnable
- type:
boolean
- default:
true
- description: The player will be required to buy a license in order to process drugs. Requires
esx_license
- type:
Config.LicensePrices
- type:
table
- default:
{weed_processing = {label = TranslateCap('license_weed'), price = 15000}}
- description: The price of the license.
- type:
Config.GiveBlack
- type:
boolean
- default:
true
- description: Give black money when selling drugs.
- type:
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
- type:
integer
- default:
1
- description: The marker type.
- type:
Color
- type:
table
- description: The marker color.
- default:
{r=60,g=230,b=60,a=255}
- type:
Size
- type:
vector3
- default:
vector3(1.5,1.5,1.0)
- type:
- type:
Config.SellMenu
- type:
table
- description: The sell menu settings.
- parameters:
Min
- type:
integer
- default:
1
- description: The minimum amount of drugs to sell.
- type:
Max
- type:
integer
- default:
10
- description: The maximum amount of drugs to sell.
- type:
- type: