vi/raiser
housing
housing, GTA 6 style illustration
Vaultintermediatehousing

Real-Estate Brokerage Commission

ESX broker role that lists and shows client properties and earns a server-validated percentage commission on each closed sale.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~71 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25
Unlock price
$199Vault

Unlock all 510 prompts

Profit potential / morising
$900($250 to $3,500)

$50-389 script band, sized for a rising niche; top sellers clear around $11.85K/mo.

Effort vs return
intermediate1 day

Description

A player real-estate-broker role: brokers list and showcase client properties to prospective buyers and earn a percentage commission when a sale closes. Servers sell it because it converts housing from a solo vending-machine purchase into a player-driven market with a paid job loop attached.

Prompt Template

You are writing a FiveM script for esextended (stable, exports getSharedObject).

🔒 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/24-realestate-brokerage-commission.lua implements the showcase gesture + listing preview on the client and a server-side sale that pays the…

🔒 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-trusted commission, the cut is computed on the broker's client and accepted blindly.
  • Double-sell race, money moves before re-confirming the listing is unowned.
  • Unloaded gesture, TaskPlayAnim fires before the dict loads, T-posing the first showing.

Corrective re-prompt: "Compute the commission and every balance check on the server from the DB price only, never trust a value from the client. Before charging, re-select the listing and reject if it already has an owner. Wrap the showcase animation in RequestAnimDict + a HasAnimDictLoaded wait loop."

Framework Integration

  • ESX: xPlayer.getMoney, xPlayer.removeMoney, xPlayer.addMoney; owner key is xPlayer.identifier.
  • QBCore: Player.Functions.RemoveMoney/AddMoney("bank", amt); owner key citizenid; notify with QBCore.Functions.Notify.
  • QBox: same as QBCore via exports.qbx_core; keep the commission math in the server event only.

Profit Potential

$250-$3500/mo on Tebex (expected ~$900), $50-389 script band priced against the corpus of housing/economy jobs (comparable Tebex, median ~$11.85K/mo); a rising player-economy loop justifies the upper mid-band.

Trend Signal

↗ rising, inferred: player-broker commission loop ties players to the property market; uncommon turnkey product.

Sales Angle

Sell it as the job that turns your housing pack into a living market, brokers, showings, commissions. Recommended Tebex price $249.

Difficulty & Ship Time

intermediate · ships in 1 day.