Open-source FiveM scripts, MLOs, vehicles & server packs for ESX, QBCore & Qbox. Browse Shop →
All Shop
Drug Production W/Dealing

Description

SSDrugs by SpindleScripts is a drug harvest, production and selling script for legacy ESX servers. Players harvest plants, turn them into higher-level drugs and sell them to NPCs, who might call the cops or steal the drugs.

Features

  • Production chains: cannabis to marijuana to dabs, coca to coke to crack, ephedra to sudafed to meth, poppy to opium to heroin, and mushrooms to shrooms to LSD to molly; marijuana can also be rolled into joints and blunts
  • Harvesting: plants spawn as props in a zone (up to 25 by default) and can be picked with a cooldown between picks (Config.PlantTimer)
  • Processing: every step has its own location, duration, animation and input amount, and some steps need an item such as baggy, drugpress or needle; meth is made inside a Journey or camper, crack and meth also have the commands /craftCrack and /craftMeth
  • Job specifications: each zone can be tied to a specific job (some defaults use gang jobs) or be open to everyone, and police, ambulance and fire can be blacklisted
  • Multiple zones: each drug can have several zones, and the script swaps the active location once at start or every set number of minutes (60 by default)
  • NPC sales: /sellDrugs (default key O, can be remapped) texts buyers; per drug you set the price range, the maximum amount, the chance that the ped calls the cops or robs the player, the cops needed online, the ped models and the in-game zones where it can be sold
  • Optional Sody Clubs support (Config.SodyClubs): the gang is read from the club column of the users table
  • Items for cannabis, coke, crack, meth, opium, heroin, LSD, molly, shrooms, dabs and more are added by SSDrugs.sql

Requirements

  • es_extended v1 final or lower, or ExM. ESX 2.0 is not supported.
  • mysql-async
  • The in-game messages in Config.Strings are in Italian by default; translate them there
  • Known issues on OneSync servers

Installation

  • Copy the SSDrugs folder into your resources folder.
  • Import SSDrugs.sql into your database and adjust config.lua (jobs, zones, prices, strings).
  • Add ensure SSDrugs to your server.cfg after es_extended.

Related resources

All resources →