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).
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access β pay once
- All 510 prompts β the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates β new niches as the market moves
$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β¦
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access β pay once
- All 510 prompts β the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates β new niches as the market moves
$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 β
TaskPlayAnimno-ops if the dict is not loaded; alwaysRequestAnimDict+while not HasAnimDictLoaded(dict) do Wait(0) end. - Double claim race β a client
claimedflag 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 viaxPlayer.addMoney, server coords viaGetEntityCoords(GetPlayerPed(source)). - QBCore:
exports['qb-core']:GetCoreObject(); reward withPlayer.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.