gta6/prompts
drugs
Vaultbeginnerdrugs

Field Drug-Testing Kits

ESX/QB/QBox consumable reagent kits that reveal a held sample's substance type and purity percentage in-hand, server-truthed with a small reagent margin.

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
~62 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A field test-kit system for ESX, QBCore or QBox: a consumable reagent kit reveals a held sample's substance type and an approximate purity percentage in-hand, with the truth held server-side and only a small reagent-margin fuzz shown. Servers sell it as the cheap buyer-trust layer that makes a purity economy feel real on the street.

Prompt Template

You are writing a FiveM resource that works on ESX, QBCore and QBox.

πŸ”’ 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/14-field-drug-testing-kits.lua. It implements a server-held sample identity and purity, a reagent-margin fuzz on the revealed number, a…

πŸ”’ 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-decided sample β€” Claude reveals a client-side value; hold the real substance and purity on the server.
  • Anim before load β€” TaskPlayAnim no-ops if the reagent dict is not loaded; always RequestAnimDict + a HasAnimDictLoaded wait loop.
  • Free kits β€” a client-only consume never decrements the item; consume the kit on the server inside testkit:use.

Corrective re-prompt: "Hold each player's sample identity and true purity in a server table, apply only a small reagent fuzz when revealing, and consume the test-kit item on the server during testkit:use before sending the result."

Framework Integration

  • ESX: local ESX = exports['es_extended']:getSharedObject(); consume the kit with xPlayer.removeInventoryItem('testkit', 1).
  • QBCore: local QBCore = exports['qb-core']:GetCoreObject(); consume via Player.Functions.RemoveItem('testkit', 1) and notify with QBCore.Functions.Notify.
  • QBox: use exports.qbx_core:GetPlayer(src) with exports.ox_inventory:RemoveItem for the reagent kit.

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 underserved test-kit niche.

Trend Signal

β†— rising β€” strategy: Test-kit utility complements purity systems; underserved as a standalone β€” rising differentiator.

Sales Angle

Position as the cheap impulse add-on that completes any purity economy β€” a buyer-trust layer that makes street deals tense. Recommended Tebex price $79.

Difficulty & Ship Time

beginner Β· ships in 2-4h.