gta6/prompts
drugs
Vaultintermediatedrugs

Thermal Grow-House Detection

QBCore/QBox police thermal-scan mechanic where over-powered grow houses emit server-tracked heat signatures only visible above a power threshold.

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

Description

A working QBCore/QBox thermal-detection mechanic: grow houses accumulate heat from their lamp count, and only grows above a power threshold show as heat markers when an officer runs a thermal scan. This is the novel police counter-mechanic crime servers sell to make greedy, over-lamped grows a liability instead of free profit.

Prompt Template

You are writing a FiveM resource for qb-core (exports['qb-core']: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/27-thermal-grow-house-detection.lua. It implements a client see-through scan with heat markers, a server grow table that filters hotspots by…

πŸ”’ 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

  • Leaked coords β€” Claude sends every grow to every client; the server must return only grows above the threshold and only to police.
  • Client-computed heat β€” computing heat client-side lets a modder zero it; lamp count and heat live in the server grow table.
  • One-sided net event β€” defining thermal:requestHotspots/thermal:syncHotspots on one side breaks the round-trip; both sides use RegisterNetEvent + AddEventHandler.
  • Anim before load β€” TaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + a HasAnimDictLoaded wait loop.

Corrective re-prompt: "Keep all grow-house data in a server-side table and never broadcast it. In thermal:requestHotspots, verify the requester is police and return only grows whose server-computed heat exceeds POWER_THRESHOLD, sent solely to that source. The client may only render markers from the synced list."

Framework Integration

  • ESX: resolve with exports['es_extended']:getSharedObject(); check xPlayer.job.name == 'police' before returning hotspots.
  • QBCore: as written β€” exports['qb-core']:GetCoreObject() and Player.PlayerData.job.name == 'police'.
  • QBox: use exports.qbx_core:GetPlayer(src) and player.PlayerData.job.name; the heat table and filter are identical.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a rising, rarely-shipped police counter-mechanic carries solid unit volume.

Trend Signal

β†— rising β€” inferred: Thermal heat-signature detection is novel/rare; my reasoning on a rising police-side counter-mechanic.

Sales Angle

The novel police counter-mechanic that punishes over-powered grows β€” a thermal scan no other drug pack ships, turning greedy lamp counts into a detection liability. Recommended Tebex price $279.

Difficulty & Ship Time

intermediate Β· ships in 4-6h.