gta6/prompts
gangs
Vaultintermediategangs

Contested Supply Drop Event

ESX timed supply-drop event where a loot crate spawns at a random map location and rival gangs fight to claim it, with the spawn, claim distance, and reward all server-authoritative.

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

Description

A working ESX contested supply drop: on a timer the server picks a random location, spawns a loot crate marker for everyone, and the first gang to reach and open it claims the payout. The single-claim guard and reward roll live on the server, so the only way to win is to physically get there and out-fight rivals. Servers buy it because it manufactures PvP at scheduled points and fills dead hours.

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/29-contested-supply-drop.lua. It implements a timed server spawn, a server-side distance + single-claim guard with a randomized payout, 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

  • Client-side reward β€” paying out on the client lets a cheat claim from anywhere; validate distance and grant money server-side.
  • Anim before load β€” TaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • Double claim race β€” a client claimed flag lets two players both win; set the flag on the server before the payout.

Corrective re-prompt: In supplydrop:claim, reject unless activeDrop exists and is not claimed, recompute the caller's distance from GetEntityCoords(GetPlayerPed(source)) server-side (<= 4.0m), set claimed=true before addMoney, and clear activeDrop. Wrap the crate-open TaskPlayAnim in RequestAnimDict + a HasAnimDictLoaded wait loop on PlayerPedId().

Framework Integration

  • ESX: exports['es_extended']:getSharedObject(); payout via xPlayer.addMoney, server coords via GetEntityCoords(GetPlayerPed(source)).
  • QBCore: exports['qb-core']:GetCoreObject(); reward with Player.Functions.AddMoney('cash', amount).
  • QBox: exports.qbx_core:GetPlayer(src); same spawn thread and server-side distance guard.

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 up for a rising server-event niche.

Trend Signal

β†— rising β€” inferred: Contested supply-drop events are rising server-event content that forces gang PvP at a point; inferred.

Sales Angle

Position as the on-a-timer PvP magnet that fills dead hours β€” a crate drops, gangs collide over it. Recommended Tebex price $119-159.

Difficulty & Ship Time

intermediate Β· ships in 2-4h.