Agency Docs
QBESXStandalone

Agency-Drugs Installation

Das komplette Drogensystem für FiveM in einem Skript.

v1.0.0Bezahlt5 SeitenAb 01.11.2026

01Installation

  1. 1Entpacke Agency-Drugs in deinen resources Ordner
  2. 2Füge ensure Agency-Drugs zur server.cfg hinzu, nach deinem Framework, deinem Inventar und oxmysql
  3. 3Starte den Server: Die Datenbanktabellen und die 5 Standardrouten werden beim ersten Start erstellt
  4. 4Kopiere die Item Bilder aus install/images in den Bildordner deines Inventars
  5. 5ox_inventory: Füge die Items aus der README zu ox_inventory/data/items.lua hinzu. QBCore und QBox Inventare erhalten die Items zur Laufzeit, ESX führt sql/install.sql aus
  6. 6Gib Admins das Menü mit add_ace group.admin agency.drugs allow
  7. 7Öffne /drugsadmin im Spiel, um die Routen zu prüfen, Preise auszubalancieren oder Routen aus einem anderen Drogenskript zu importieren

02Abhängigkeiten

  • oxmysql (erforderlich)
  • OneSync (erforderlich)
  • QBCore, QBox oder ESX (optional, ohne Framework läuft es standalone)
  • Ein Inventar (optional: ox_inventory, qb-inventory, ps-inventory, lj-inventory, jpr-inventory oder qs-inventory, wird automatisch erkannt)
  • Agency Phone und Agency Pad (optional, fügen die Dealer App hinzu)
  • Agency Gangs (optional, Turf Bonus, Vault Beteiligung und Warnungen)
  • Ein Dispatch Skript (optional: ps-dispatch, cd_dispatch, tk_dispatch, qs-dispatch oder core_dispatch, andernfalls wird ein Polizei Blip genutzt)
  • Agency-Notify (optional, andernfalls werden die Benachrichtigungen deines Frameworks genutzt)
  • Agency-Companion (optional, kostenlos: verbindet das Script über /app mit der Agency Companion App)

03SQL Datei

Optional: Die Resource legt diese Tabellen beim Start selbst an. Importiere die Datei nur, wenn du die Datenbank von Hand einrichtest:

-- ===================================================== -- AGENCY DRUGS — optional SQL -- The script creates its own tables on the first start (agency_drugs_*). -- You only need this file on ESX: it adds the default items to the items table. -- QBCore / QBox add the items by themselves at runtime, ox_inventory uses -- the snippet in README.md. -- ===================================================== INSERT IGNORE INTO `items` (`name`, `label`, `weight`) VALUES ('cannabis_leaf', 'Cannabis Leaf', 1), ('coca_leaf', 'Coca Leaf', 1), ('solvent', 'Solvent', 1), ('pseudoephedrine', 'Pseudoephedrine', 1), ('sodium_hydroxide', 'Sodium Hydroxide', 1), ('ammonium_nitrate', 'Ammonium Nitrate', 1), ('ketamine_raw', 'Raw Ketamine', 1), ('codeine', 'Codeine Syrup', 1), ('cherry', 'Cherries', 1), ('weed_bag', 'Weed Bag', 1), ('joint', 'Joint', 1), ('cocaine_bag', 'Cocaine Bag', 1), ('meth_bag', 'Meth Bag', 1), ('ketamine_pill', 'Ketamine Pill', 1), ('lean_cup', 'Lean', 1);

Kommst du nach dieser Seite nicht weiter? Dann übernimmt unser Support.