gta6/prompts
housing
Vaultadvancedhousing

Home Burglary & Offline Raid

QBCore exports-based offline home break-in: lockpick anim, alarm roll, and a server-authoritative loot table gated by a per-house cooldown.

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

Description

A residential break-in loop targeting offline owners: the burglar lockpicks the door with a timed animation, risks tripping the alarm, and loots the stash — but only if the house is off its cooldown. The server rolls the loot and enforces the cooldown so the reward cannot be spoofed or farmed. Servers sell it because offensive housing content is what makes lock and security scripts worth buying.

Prompt Template

You are writing a FiveM script for QBCore (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 at content/expected-outputs/housing/13-home-burglary-offline-raid.lua implements the load-waited lockpick animation and proximity prompt on the client, and a server that enforces 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-side loot — rolling rewards and AddItem on the client lets a player fabricate or loop loot. Roll and grant on the server only.
  • Client cooldown — storing the cooldown client-side is bypassed by reconnecting. Keep the timestamp table server-side.
  • Anim never loads — calling TaskPlayAnim without the while not HasAnimDictLoaded wait plays nothing. Always block until loaded.

Corrective re-prompt: Move the loot roll, cash and item grants into the server section keyed off os.time() per house id; the client only plays the animation and shows the "burglary:result" it receives. Guarantee the lockpick anim by keeping RequestAnimDict(dict) followed by while not HasAnimDictLoaded(dict) do Wait(0) end before TaskPlayAnim.

Framework Integration

  • QBCore: exports["qb-core"]:GetCoreObject(); Player.Functions.AddMoney("cash", amt), Player.Functions.AddItem("goldbar", 1).
  • QBox: exports.qbx_core:GetPlayer(src) with the same Functions.AddMoney/AddItem surface; pair with ox_inventory for stash items.
  • ESX: if ported, swap to getSharedObject(), xPlayer.addMoney(amt) / xPlayer.addInventoryItem; this entry ships QBCore/QBox only.

Profit Potential

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

Trend Signal

🔥 hot — corpus: signal-scraper corpus n=356: housing/security<-ox_doorlock; residential break-in is a top-demand RP loop.

Sales Angle

Position as the offense that sells the defense — the break-in loop that gives every house-lock and alarm pack a reason to exist. Recommended Tebex price $249.

Difficulty & Ship Time

advanced · ships in 1 day.