gta6/prompts
gangs
Vaultadvancedgangs

Scheduled Capture-Point War Event

ESX king-of-the-hill event on a server schedule where gangs fight to hold one map point, and the top holder wins a server-paid reward pot.

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

Description

A working ESX scheduled capture-point event: on a server timer a king-of-the-hill point goes live, gangs fight to keep members standing in its radius, and the gang that accrues the most hold time wins a server-paid reward pot. It is recurring event content that reliably concentrates PvP into one place at peak hours — the kind of headline gangs schedule their nights around.

Prompt Template

You are writing a FiveM resource 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 lives at content/expected-outputs/gangs/17-capture-point-war-event.lua. It implements a client presence loop with a flag-plant animation that reports hold ticks, and a server…

🔒 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-run event — scheduling and accrual on the client desyncs the winner; keep the schedule thread, Holders table, and payout on the server.
  • Anim before load — the flag-plant TaskPlayAnim no-ops if the dict is not loaded; RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • Bad payout — paying from the client or to everyone breaks the reward; resolve the top-holding gang server-side and addMoney only to its members.

Corrective re-prompt: Move the schedule, the Holders accrual, and the payout entirely into one server CreateThread. Have clients only report koth:holdTick while in-radius; at event end resolve the top holder server-side, iterate GetPlayers and addMoney(REWARD_POT) to that gang's members only, then broadcast the closed state.

Framework Integration

  • ESX: exports['es_extended']:getSharedObject(); gang via xPlayer.getJob().name; payout with xPlayer.addMoney.
  • QBCore: exports['qb-core']:GetCoreObject(); Player.PlayerData.gang.name; pay with Player.Functions.AddMoney.
  • QBox: exports.qbx_core:GetPlayer(src); player.PlayerData.gang.name; player.Functions.AddMoney('cash', pot).

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 FiveM script band against a corpus median seller of $11.85K/mo (signal-scraper tebex_snapshot n=100), scaled for a rising server-event niche.

Trend Signal

rising — strategy: Matrix 'warfare' — scheduled capture-point events are rising server-event content that concentrates PvP.

Sales Angle

Sell as a recurring peak-hour event headliner that drives population spikes. Recommended Tebex price $149-199.

Difficulty & Ship Time

advanced · ships in 1 day.