Description
An encumbrance layer for ESX/QBCore survival servers: once a player's carried weight passes the cap, they bleed stamina, lose sprint, get a blurred screen effect, and drop part of their load on death. The server owns the overweight flag so the penalty cannot be bypassed by a modified client.
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 at content/expected-outputs/crafting/03-encumbrance-overweight-penalty.lua implements a client penalty thread that sleeps when unencumbered, a one-shot screen-fx toggle, 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-owned flag — if the NUI decides "overweight", a cheat client never suffers. Keep
isOverserver-side. - Stacked postfx — calling
AnimpostfxPlayevery frame layers the effect. Guard withAnimpostfxIsRunningand toggle only on change. - FPS-killing loop — a permanent
Wait(0)thread is wasteful. RequireWait(1000)when not encumbered.
Corrective re-prompt: "Decide the overweight flag only in the server from the reported weight, fire enc:setState only when the flag changes, and in the client toggle the screen postfx once per change while sleeping the penalty thread at Wait(1000) unless overweight."
Framework Integration
- ESX:
exports['es_extended']:getSharedObject(); weight cap mirrors your inventoryMAX_WEIGHT. - QBCore:
exports['qb-core']:GetCoreObject(),QBCore.Functions.GetPlayer(source); readPlayer.PlayerData.metadatafor hunger-linked stamina if desired. - QBox:
exports.qbx_core:GetPlayer(source); pull carried weight from ox_inventoryInventory:GetCurrentWeightserver-side.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 standalone-script band against the signal-scraper corpus (tebex_snapshot n=100, median seller $11.85K/mo) for a rising realism niche.
Trend Signal
↗ rising — [INFERRED] encumbrance is a rising hardcore-survival realism staple; no direct corpus signal, reasoned from FiveM realism-server demand.
Sales Angle
The immersion multiplier that makes weight actually matter — a low-friction add-on to any inventory for servers selling the survival fantasy. Recommended Tebex price: $69.
Difficulty & Ship Time
intermediate · ships in 2-4h.