Wert Drug Sell System
You can access the setup information you need about this product
🚀 Installation
Welcome to the Wert Drug Selling System documentation. Follow these steps to install and configure the script on your server.
Note: This script is encrypted using FiveM Asset Escrow system. Ensure your server license key is linked to the same CFX account used for the purchase.
📋 Requirements
Before installing, ensure you have the following dependencies installed and started:
Framework: QBCore, ESX, or QBox ( Configurable )
ox_lib (Required for UI and Logic)
🛠️ Step-by-Step Installation
1. Download & Extract
Download the wert_drugsell package from your Keymaster assets. Extract the folder into your server's resources directory.
2. Configure Framework
Open shared/config.lua and ensure the framework settings match your server.
Lua
Config.Framework = 'qb' -- Options: 'qb', 'esx', 'qbox'3. Database Setup (Auto-Install) ✨
You do not need to run any SQL files manually.
The script includes an Auto-Migration system. When you start the script for the first time, it will automatically create the necessary database tables (wert_drugsell_users, transactions, etc.) and load the dealers.
4. Add Items to Inventory
Since this script works seamlessly with ox_inventory, you need to register the drug items and the tablet.
Open ox_inventory/data/items.lua and paste the following codes:
Lua
['drugtablet'] = {
label = 'Black Market Tablet',
weight = 500,
stack = false,
close = true,
description = 'An encrypted tablet used for illegal network communication.',
client = {
image = 'drugtablet.png', -- Make sure to add the image
}
},
['weed_whitewidow'] = {
label = 'White Widow (Pack)',
weight = 100,
stack = true,
close = true,
description = 'High quality strain.',
client = {
image = 'weed_baggy.png',
}
},
['cokebaggy'] = {
label = 'Bag of Coke',
weight = 10,
stack = true,
close = true,
description = 'Pure product.',
client = {
image = 'cocaine_baggy.png',
}
},
['meth'] = {
label = 'Meth Crystal',
weight = 10,
stack = true,
close = true,
description = 'Blue crystal.',
client = {
image = 'meth_baggy.png',
}
},{% hint style="warning" %}
Important: Ensure the item names match exactly what is in your Config.Drugs inside shared/config.lua. If you change item names there, change them here too.
{% endhint %}
5. Item Images
Copy the images provided in the assets/images folder of the script and paste them into:
ox_inventory/web/images/
6. Server Config
Add the script to your server.cfg file. Ensure it is started after the dependencies.
Kod snippet'i
ensure ox_lib
ensure ox_inventory
ensure oxmysql
ensure wert_drugsell7. Restart Server
Restart your server. Watch the server console; you should see a message confirming that the database tables have been checked and dealers have been initialized.
🌍 Localization (Translation)
You can easily translate the entire interface without editing the source code.
Navigate to
wert_drugsell/web/build/locales.json.Open the file with any text editor (VS Code, Notepad++).
Edit the values on the right side to your desired language.
Restart the script.
Example:
JSON
"sidebar": {
"home": "Ana Sayfa",
"chat": "Sohbet"
}OPEN FILES
🆘 Support
If you encounter any issues during installation, please check the server console for errors first. For further assistance, join our Discord Server and open a ticket.
Last updated