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 ( Auto-detected or Configurable )
ox_lib (Required for UI and Logic)
🛠️ Step-by-Step Installation
1. Download & Extract
Download the wert_drugsell package from your cfx portal 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
U can add this items into the ur item list
['drugtablet'] = {
label = 'Drug 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
}
},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.
5. Item Images
Copy the images provided in the script folder of the script and paste ur inventory images.
6. Server Config
Add the script to your server.cfg file. Ensure it is started after the dependencies.
ensure oxmysql
ensure ox_lib
ensure ox_inventory
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.
Note : Also shared/config.lua has some extra locales u can check it also.
"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