Description
A working ESX knockout-gas entry: the player plants a gas canister at a vent and every guard NPC inside the sealed room ragdolls, opening a clean non-lethal entry. The server validates that the gassed-guard list is non-empty and pays once, giving stealth-leaning servers an alternative to shootouts.
Prompt Template
You are writing a FiveM resource for esextended (stable, exports getSharedObject).
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Expected Output
The reference Lua lives at content/expected-outputs/heists/26-knockout-gas-room-clear.lua. It implements the vent-plant anim, a client ped sweep that ragdolls non-player humans inside the room radius…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Known Failure Modes & Corrective Prompt
- Client-paid clear — Claude rewards on the plant with no server check, so an empty room still pays. Validate the netId list and pay on the server.
- Anim before load —
TaskPlayAnimno-ops if the dict is not loaded; alwaysRequestAnimDict+while not HasAnimDictLoaded(dict) do Wait(0) end. - One-sided net event — defining
gas:rewardon only one side breaks the round-trip; both sides useRegisterNetEvent+AddEventHandler. - No re-trigger guard — without a per-source cleared flag the plant can be spammed for repeat payouts; gate it and reset on a timeout.
Corrective re-prompt: "On the server, reject gas:roomCleared when netIds is not a table or is empty, set a per-source cleared flag before paying, call xPlayer.addMoney exactly once, and reset the flag on a timeout and on playerDropped. The client must never pay."
Framework Integration
- ESX: as written —
getSharedObject(),ESX.GetPlayerFromId(src),xPlayer.addMoney([REWARD]). - QBCore: swap to
exports['qb-core']:GetCoreObject(),QBCore.Functions.GetPlayer(src)andPlayer.Functions.AddMoney('cash', [REWARD], 'gas-clear'). - QBox: use
exports.qbx_core:GetPlayer(src)thenplayer.Functions.AddMoney('cash', [REWARD]); the ped-sweep and validation are unchanged.
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 non-lethal-entry niche.
Trend Signal
↗ rising — inferred: Area knockout-gas incapacitation is uncommon; demand for non-lethal entry options is rising.
Sales Angle
The non-lethal entry mechanic stealth servers crave — pump gas, ragdoll the room, walk in clean instead of starting a firefight. Recommended Tebex price $229.
Difficulty & Ship Time
intermediate · ships in 3-5h.