gta6/prompts
housing
Vaultintermediatehousing

Construction Permit & Zoning

QBCore/QBox export-driven civic permitting flow where a player applies for a zoning permit to place a new property/MLO shell, an authorized inspector approves it on-site, and the server-authoritatively flips the permit to granted before the build can drop.

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

Description

A civic permitting layer: a player files a zoning application for a coordinate, an authorized inspector (a city-planning job) visits, plays an inspection animation, and approves or denies it. Only a server-granted permit unlocks placing the new property/MLO shell. Gov-RP and city-builder servers sell this as the gatekeeper that turns "anyone places a house anywhere" into a real bureaucratic flow.

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/30-construction-permit-zoning.lua implements the applicant apply, the inspector job-gated inspection animation with a dict-load wait, and 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

  • The client sets status = 'granted' itself, so anyone self-approves — the decision must be a server event re-checking the inspector job.
  • TaskPlayAnim runs before missfbi3_party_d is loaded, so the clipboard anim never plays.
  • permit:result is only registered server-side, so the applicant never learns the verdict and the build stays locked.

Corrective re-prompt: "Make approval server-authoritative: on permit:decide, re-fetch the deciding player with GetPlayer(src) and confirm PlayerData.job.name == 'cityplanning' on the SERVER before any MySQL.update to 'granted' — never trust the client's job or a client-set status. Also wrap the inspection animation in RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end, and register permit:result with RegisterNetEvent + AddEventHandler on the applicant client."

Framework Integration

  • QBCore: QBCore.Functions.GetPlayer(src) then gate on Player.PlayerData.job.name == 'cityplanning'; store permits in a construction_permits table keyed by citizenid.
  • QBox: identical through exports['qb-core']:GetCoreObject(); QBox's qbx_core job checks behave the same, so no code change is needed.
  • ESX: not targeted by this spec — map xPlayer.job.name and identifier if you port it.

Profit Potential

$150–$2000/mo on Tebex (expected ~$500). [INFERRED] Priced within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a stable civic-RP gatekeeper sits mid-band.

Trend Signal

stable — inferred: [INFERRED] civic-RP permitting (cf id-054 Construction Permits Authority); niche gatekeeper for player-placed builds.

Sales Angle

Position for gov/city-RP servers that run a planning department — the permit is the bottleneck that creates roleplay (applications, inspections, fees). Recommended Tebex price $89.

Difficulty & Ship Time

intermediate · ships in 1 day.