gta6/prompts
housing
Coreadvancedhousing

Real-Estate Listing UI + Preview Teleport

An NUI panel lists every unowned property; clicking View flies the player to a preview point and closing returns them to where they started.

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

Description

A real-estate kiosk: /realestate opens an NUI list of every property currently for sale, and clicking View flies the player (invisible, frozen) to a camera point at that property for a tour. Closing the panel returns them exactly where they started. This is the showroom that makes browsing housing feel like a real listings site instead of a coordinate list.

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/09-realestate-listing-ui.lua shows the command, the focus/SendNUIMessage open, the viewProperty preview-teleport saving lastPos, the close…

🔒 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

  • Missing NUI focus — without SetNuiFocus(true, true) the panel can't be clicked. Always set it on open and clear it on close.
  • Lost origin — previewing without saving lastPos strands the player. Save coords before the first teleport, restore on close.
  • Hardcoded listings — a static client list ignores real availability. Query unowned rows from the DB each open.

Integration Notes

  • Pair with an html/ folder (index, css, js) declared via ui_page + files in fxmanifest.lua; the JS posts viewProperty / close callbacks.
  • The properties table supplies label, price, and the preview x/y/z.
  • Declare qb-core and oxmysql. Test: open the panel (cursor shows), View a listing (you fly there invisible), Close (you return to your exact start point).

Profit Potential

$400–$4800/mo on Tebex (expected ~$1400). [INFERRED] advanced NUI showroom scaled to the upper $50-389 band against the signal-scraper tebex corpus (median seller $11.85K/mo, n=100); polished UI and preview-teleport complexity justify a premium unit price.

Trend Signal

rising — housing systems niche-selection 3.60; corpus ox_doorlock active.

Sales Angle

Position as the listings-site showroom that makes browsing housing feel premium, preview-teleport tours included. Recommended Tebex price $149.

Difficulty & Ship Time

advanced · ships in 1-2 days.