vi/raiser
crafting
crafting, GTA 6 style illustration
Vaultintermediatecrafting

Encumbrance, Over-Weight Penalty

ESX/QBCore encumbrance layer where carrying over the weight cap drains stamina, slows sprint, blurs the screen and drops items on death, with the overweight flag set server-side.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~70 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25
Unlock price
$199Vault

Unlock all 510 prompts

Profit potential / morising
$900($250 to $3,500)

$50-389 script band, sized for a rising niche; top sellers clear around $11.85K/mo.

Effort vs return
intermediate2-4h

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).

🔒 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 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…

🔒 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-owned flag, if the NUI decides "overweight", a cheat client never suffers. Keep isOver server-side.
  • Stacked postfx, calling AnimpostfxPlay every frame layers the effect. Guard with AnimpostfxIsRunning and toggle only on change.
  • FPS-killing loop, a permanent Wait(0) thread is wasteful. Require Wait(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 inventory MAX_WEIGHT.
  • QBCore: exports['qb-core']:GetCoreObject(), QBCore.Functions.GetPlayer(source); read Player.PlayerData.metadata for hunger-linked stamina if desired.
  • QBox: exports.qbx_core:GetPlayer(source); pull carried weight from ox_inventory Inventory:GetCurrentWeight server-side.

Profit Potential

$250-$3500/mo on Tebex (expected ~$900), priced inside the $50-389 standalone-script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo) for a rising realism niche.

Trend Signal

↗ rising, 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.