Files

117 lines
3.6 KiB
Markdown
Raw Permalink Normal View History

2025-08-11 17:42:26 -06:00
# 🌿 MD-Drugs – Advanced Drug System for FiveM
2026-03-05 00:00:34 -08:00
> ✨ A fully customizable, immersive, and performance-optimized drug system built for serious FiveM roleplay servers.
2023-12-07 15:45:48 -08:00
2023-12-17 01:02:02 +01:00
<div align="center">
2026-03-05 00:00:34 -08:00
<a href="https://discord.gg/sAMzrB4DDx" >
<img style="width:200px;", src="https://i.imgur.com/t65G9Z0.png"></img>
</a>
**[Join Mustache Scripts Discord](https://discord.gg/sAMzrB4DDx)**
2023-12-17 01:02:02 +01:00
</div>
2023-12-07 15:45:48 -08:00
2025-08-11 17:42:26 -06:00
---
2026-03-05 00:00:34 -08:00
## 📦 Dependencies
2023-12-07 15:45:48 -08:00
2026-03-05 00:00:34 -08:00
> ⚠️ **Important:** Ensure all dependencies are installed, started **before** `md-drugs`, and kept up to date.
| Dependency | Requirement | Link |
|-----------|-------------|------|
| `Community_bridge` | Required | [GitHub](https://github.com/TheOrderFivem/community_bridge) |
| `Read` | Required | [Documentation](https://letters.hookedonphonics.com/us/read-guaranteed-G14.html) |
| **Game Build** | **2944 or later** | - |
2023-12-07 15:45:48 -08:00
2026-03-05 00:00:34 -08:00
---
## 🙏 Credits
A huge thank you to everyone who made this possible:
2023-12-07 15:45:48 -08:00
2026-03-05 00:00:34 -08:00
| Contributor | Contribution | Link |
|------------|--------------|------|
| **Samuel's Development** | Christmas script global states & prop spawning | [Visit](https://fivem.samueldev.shop/) |
| **STACHY225** | Meth network animations | [Visit](https://babiczind.tebex.io/category/2103836) |
| **Bostra** | Free scripts, sanity checks & mushrooms | [Discord](https://discord.gg/5ncbwMNq) |
| **Feisty** | Stunning visuals & effects | - |
| **Athena** | Balloon props | [Discord](https://discord.gg/mam8Nmg49d) |
| **Kamaryn** | Installation guide video | [Watch](https://youtu.be/zvuYnUfrqaA?si=FGJuBO5krZMC14Nd) |
| **1of1 Servers** | Hosting & support | [Website](https://1of1servers.com/) \| [Discord](https://discord.gg/1of1servers) |
| **Beta Testers** | Invaluable feedback & testing | - |
2024-05-02 18:34:49 -07:00
2025-08-11 17:42:26 -06:00
---
2023-12-07 15:45:48 -08:00
2026-03-05 00:00:34 -08:00
## 🎬 Preview
<div align="center">
[![Watch Full Preview](https://img.youtube.com/vi/I_x7_oz_SAU/maxresdefault.jpg)](https://www.youtube.com/watch?v=I_x7_oz_SAU)
**[📺 Watch Full Preview Video](https://www.youtube.com/watch?v=I_x7_oz_SAU)**
</div>
2024-07-11 17:52:33 -07:00
2026-03-05 00:00:34 -08:00
---
2023-12-11 15:22:52 -08:00
2023-12-16 23:35:43 -06:00
2025-08-11 17:42:26 -06:00
## 🛠️ Installation
2023-12-07 15:45:48 -08:00
2025-08-11 17:42:26 -06:00
### Step 1: Inventory Integration
2023-12-07 15:45:48 -08:00
2026-03-05 00:00:34 -08:00
#### 📦 For QBCore (`qb-inventory`)
1. **Copy Items:**
- Copy items from `md-drugs/items_install/qb-inventory` into `qb-core/shared/items.lua`
2. **Add Images:**
- Add item images from `md-drugs/items_install/images` to `qb-inventory/html/images`
#### 📦 For OX_Inventory
1. **Copy Items:**
- Copy items from `md-drugs/items_install/ox_inventory` into `ox_inventory/data/items.lua`
2023-12-07 15:45:48 -08:00
2026-03-05 00:00:34 -08:00
2. **Add Images:**
- Add item images to `ox_inventory/web/images`
2023-12-07 15:45:48 -08:00
2026-03-05 00:00:34 -08:00
---
2024-11-26 16:07:15 -08:00
2025-08-11 17:42:26 -06:00
### Step 2: Configure Drug Locations & Recipes
2026-03-05 00:00:34 -08:00
All drug data is now organized in: `shared/DrugData/{drugname}.lua`
> ✏️ **Tip:** Modify these files to customize:
> - Spawn points
> - Yields
> - Processing times
> - And more!
*Note: Some data is also located in the server files.*
---
### Step 3: QBCore Users Only! ⚠️
If you're using QBCore, check `qb-smallresources/config.lua`:
1. Look for this code block:
```lua
[2] = { --Coke Processing Enter/Exit
[1] = {
poly = { coords = vector3(909.49, -1589.22, 30.51), heading = 92.24, length = 2, width = 2 },
allowVeh = false,
label = '[E] Enter Coke Processing'
},
[2] = {
poly = { coords = vector3(1088.81, -3187.57, -38.99), heading = 181.7, length = 2, width = 2 },
allowVeh = false,
label = '[E] Leave'
}
}
```
2026-01-23 04:10:58 -07:00
### STEP 4
2024-10-28 14:11:49 -07:00
- Run SQL
2025-08-11 17:42:26 -06:00
- if you dont know how, click this image below
2025-10-11 23:18:48 -07:00
- [![YouTube Video](https://img.youtube.com/vi/8QpFOluK_xo/hqdefault.jpg)](https://www.youtube.com/watch?v=8QpFOluK_xo)
2026-01-23 04:10:58 -07:00
### STEP 5
2026-01-24 00:57:03 -07:00
- If you want whippits, take the folder `ate_balloon` and place that folder into the standalone folder like it was another script :)