gta6/prompts
drugs
Vaultadvanceddrugs

AI Reseller Network

QB/QBox network that recruits AI street-dealer NPCs, lets the owner assign product stock to each, and pays a server-ticked passive cut as the dealers sell over time.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~117 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

An AI reseller network for QB or QBox servers: the player recruits street-dealer NPCs, assigns product stock to each, and earns a passive cut as a server tick sells that stock down over time. Servers sell this because it adds a defensible empire layer on top of plain hand-to-hand dealing — a reason to keep playing while logged off the corner.

Prompt Template

You are writing a FiveM resource for qb-core (exports GetCoreObject).

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Expected Output

The reference Lua lives at content/expected-outputs/drugs/19-ai-reseller-network.lua. It implements a server-owned dealer roster with a per-owner cap, inventory-checked stock assignment, a server…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Client-trusted sales/payout — Claude lets the client report sales; compute sold-units and the cut only inside the server tick.
  • Local-only dealer ped — recruiting client-side leaves the NPC visible to one player; broadcast spawn/remove and keep the roster on the server.
  • Spoofable cap/stock — enforce MAX_DEALERS and the inventory check server-side, never trust the command args.

Corrective re-prompt: "Move all sales math into the server CreateThread tick, enforce MAX_DEALERS and the GetItemByName stock check on the server before mutating dealer stock, and broadcast reseller:spawnDealer/removeDealer to -1 so every client sees the same roster."

Framework Integration

  • ESX: not targeted; port by swapping to exports['es_extended']:getSharedObject() and using xPlayer.addMoney / xPlayer.getInventoryItem for the cut and stock checks.
  • QBCore: local QBCore = exports['qb-core']:GetCoreObject(); Player.Functions.GetItemByName('drug_packet') gates stock and Player.Functions.AddMoney('cash', payout) pays the cut.
  • QBox: use exports.qbx_core:GetPlayer(src) and exports.ox_inventory:Search to verify product before assigning it to a dealer.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), set for a rising under-served reseller-empire niche.

Trend Signal

rising — strategy: Passive AI-reseller empire layer is underserved; matrix defensibility lane, rising.

Sales Angle

Position as the passive-income empire layer that turns a solo dealer into a network boss — the autonomous AI roster is the defensibility hook competitors lack. Recommended Tebex price $249.

Difficulty & Ship Time

advanced · ships in 2-4h.