Description
An advanced ESX air-freight pilot job: /acceptcharter plays a cargo-load animation, asks the server for a charter, spawns a freight plane, and routes you to one of several destination airfields. The server authorizes the assignment and the payout, so landing at the marked field — verified by a ground-height check — collects a server-tracked reward. It is the aviation counterpart to a trucking run, monetizing the airport surface most servers leave idle.
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/jobs/29-cargo-pilot-air-charter.lua. It implements an anim-loaded cargo pickup, a model-loaded plane spawn, a routed destination blip with 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-trusted payout — paying in the client lets anyone spoof
completeCharter. Keep the amount inpending[src]server-side and pay only that. - Anim never plays —
TaskPlayAnimbeforeHasAnimDictLoadedis true silently no-ops. Loop on the dict first. - Air-fired completion — without
GetEntityHeightAboveGround < 6.0the payout triggers on a fly-over. Gate completion on a real landing. - Plane spawn desync —
CreateVehiclebeforeHasModelLoadedgives a null/invisible aircraft; load the model first and release it after.
Corrective re-prompt: "The payout can be spoofed and fires mid-air. Move all reward state into a server-side pending[src] table set in cargopilot:requestCharter and read+cleared in cargopilot:completeCharter, and gate client completion on both #(pos - dest) < 30.0 AND GetEntityHeightAboveGround(ped) < 6.0 so only a landed plane completes."
Framework Integration
- ESX: uses
exports["es_extended"]:getSharedObject(),xPlayer.job.name, andxPlayer.addMoney(payout); seed acargopilotjob in yourjobstable. - QBCore: swap to
exports["qb-core"]:GetCoreObject(), gate onplayer.PlayerData.job.name, and pay viaplayer.Functions.AddMoney("bank", payout, "air-charter"). - QBox: identical to QBCore through the
qbx_corebridge — keep the same job gate andAddMoneycall via the compatibility exports.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 FiveM script band against a rising aviation-economy niche; corpus median seller $11.85K/mo (signal-scraper tebex_snapshot n=100), scaled down for a single-job resource.
Trend Signal
↗ rising — inferred: Air-freight/charter niche rising with airport RP; aviation cargo loop distinct from ground trucking runs by medium and aircraft handling.
Sales Angle
Position it as the aviation-economy job airport-RP servers are missing — a fresh earnings loop that reuses the airfields they already built, distinct from trucking. Recommended Tebex price $249.
Difficulty & Ship Time
advanced · ships in 1 day.