T1GER Drug Business (t1ger_drugbusiness) is a drug business script for ESX 1.2 and older, similar to the businesses in GTA Online. The download also contains a shell resource (T1GER_DRUGSHELLS) with coke, meth and weed lab interiors.
Drug labs
- Players buy a drug lab and start their business. The lab is a shell that spawns underneath the door position.
- Configurable blips, markers, positions and prices; blips for your own lab, other players' labs and labs for sale.
- Labs can be sold back for a percentage of the price (75% by default).
- Synced between players and works with OneSync.
- Laptop inside the lab to manage the business.
Supplies and stock
- Purchase supplies: refills the lab to its maximum, priced per supply level.
- Steal supplies: steal a van and bring it back, which adds one supply level. Police can be notified.
- Supplies turn into stock over time while the owner is online (one level every 10 minutes by default).
- Stock is sold with delivery jobs; the more stock you sell at once, the higher the price multiplier.
Police raids and robberies
- Players who own a lab can rob other players' labs and take their supplies and stock (also while the owner is offline, if enabled).
- Police can raid drug labs and seize supplies and stock.
- The lab owner gets a notification on a raid or robbery.
- Robbery uses the mHacking minigame; blocks and time are configurable, and you can swap it for another minigame.
More
- Police alert with map blip during supply and stock jobs.
- Pay for labs with cash or bank; all keys are configurable.
- Language file for translation.
Requirements
- ESX 1.2 or older (does not support ExtendedMode or ESX v2.0+)
- mysql-async
- mHacking and progressBars (free on GitHub, links in the README)
- Drug lab shells: included as
T1GER_DRUGSHELLS
Installation
- Copy
t1ger_drugbusiness and T1GER_DRUGSHELLS into your resources folder.
- Import
t1ger_drugbusiness.sql (creates the t1ger_druglabs table).
- Install mHacking and progressBars and adjust
config.lua.
- Add
ensure T1GER_DRUGSHELLS and ensure t1ger_drugbusiness to your server config.