gta6/prompts
gangs
Vaultadvancedgangs

Turf-Controlled Drug Supply Node

A FiveM turf-to-economy link — holding a zone accrues a passive drug-supply tick and grants an in-zone sell-price bonus, all validated server-side.

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

Description

Holding a turf turns it into a drug supply node: it accrues supply on a server-side tick, and selling inside the zone earns a price bonus. This is the turf-to-economy link — explicitly the drug-turf mechanic — kept distinct from a lab or a buy/sell dealer loop. It is the headline feature buyers request by name, which is why it commands the top of the price band.

Prompt Template

You are writing a FiveM resource (client + server Lua) for [FRAMEWORK: esx |…

🔒 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

See content/expected-outputs/gangs/11-turf-drug-supply-node.lua — 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-computed supply or payout enables fabricated income.
  • Node proximity trusted from the client without a server radius re-check.
  • Non-atomic collect lets rapid requests double-claim supply.

Corrective re-prompt: "Move supply accrual, the proximity check, and payout math to the server. On collect, re-verify radius with squared distance and zero the node's supply in the same handler before replying. Read the sell bonus from server state, never from the client."

Framework Integration

  • ESX: pay out with xPlayer.addMoney via exports["es_extended"]:getSharedObject() and gate collection on the player's gang job.
  • QBCore: use exports['qb-core']:GetCoreObject() and Player.Functions.AddMoney('cash', payout) after the server validates the node and gang.
  • QBox: use exports.qbx_core:GetPlayer(src) and its money functions, scoping the node to the player's gang metadata.

Profit Potential

$400–$6000/mo on Tebex (expected ~$1500). [INFERRED] priced inside the $50-389 script band against a corpus median seller of $11.85K/mo (signal-scraper tebex_snapshot n=100), scaled for a hot-demand niche.

Trend Signal

🔥 hot — strategy: Matrix explicitly lists 'drug-turf'; turf-gated drug income is a top paid-RP draw. Kept distinct from the drugs/lab category and jobs-10 dealer loop.

Sales Angle

Position as the headline turf-economy feature — the drug-turf link buyers ask for by name, justifying the top of the band. Recommended Tebex price $349.

Difficulty & Ship Time

advanced · ships in 1 day.