Description
A working ESX drive-by turf bonus: when a passenger (not the driver) lands a drive-by kill inside a contested zone during a war, the server awards extra war points to their gang. Out-of-zone or driver kills earn nothing extra. It is the classic mobile-warfare flavor servers add to make rolling deep through contested turf pay off.
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/16-drive-by-turf-bonus.lua. It loads the drive-by anim dict, detects passenger drive-by kills client-side, and reports them with a positionβ¦
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 award β scoring on the client is spoofable; do the radius check and the point award server-side from the reported position.
- Anim before load β using the aim dict before it loads no-ops;
RequestAnimDict+while not HasAnimDictLoaded(dict) do Wait(0) end. - Unscoped bonus β crediting every kill defeats the design; gate on both the passenger-seat check (client) and the contested-radius + active-war check (server).
Corrective re-prompt: Send only the killer's server id and the death position from the client; in driveby:report reject unless the war is active and the position falls inside a contested radius, then add the bonus to the killer's gang and broadcast. Keep the passenger-seat check client-side as a pre-filter, never as the source of truth for points.
Framework Integration
- ESX:
exports['es_extended']:getSharedObject(); killer gang fromxPlayer.getJob().name. - QBCore:
exports['qb-core']:GetCoreObject(); readPlayer.PlayerData.gang.namein driveby:report. - QBox:
exports.qbx_core:GetPlayer(src);player.PlayerData.gang.name; identical radius scoring.
Profit Potential
$150β$2000/mo on Tebex (expected ~$500). [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 stable flavor add-on.
Trend Signal
β stable β inferred: Drive-by combat is a classic flavor; scoping the bonus to contested turf is a steady add-on, not a headline.
Sales Angle
Position as the mobile-warfare reward that pairs with any war suite. Recommended Tebex price $59-89.
Difficulty & Ship Time
intermediate Β· ships in 2-4h.