Description
A single-player Jacks-or-Better video-poker terminal: the server deals five cards, the player holds the ones they want, the server redraws the rest and pays from a configurable paytable. Servers buy it as a low-supply floor-filler that monetizes idle players without needing a live dealer or a second seat.
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/casino/17-video-poker-machine.lua. It implements a proximity terminal with a loaded sit anim, a server-side deal that caches the hand per source,β¦
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 evaluation β the player can claim a royal flush every time; deal, redraw and score in server.lua.
- Anim before load β
TaskPlayAnimno-ops withoutRequestAnimDict+ aHasAnimDictLoadedwait loop. - Hand not cached β without
activeHand[src]the server cannot trust the draw; cache the dealt hand server-side and clear it after the draw. - One-sided net event β both deal and draw round-trips need
RegisterNetEvent+AddEventHandleron both sides.
Corrective re-prompt: Cache the dealt five-card hand server-side in activeHand[src], deal and redraw from a server drawCard(), evaluate against the Paytable on the server, and addMoney only the computed win β the client should only ever send the holds[] indices.
Framework Integration
- ESX:
xPlayer.getMoney()/xPlayer.removeMoney(Bet)for the ante andxPlayer.addMoney(win)for the payout. - QBCore: swap to
Player.Functions.RemoveMoney('cash', Bet, 'vpoker')andAddMoney('cash', win, 'vpoker-win'). - QBox: identical to QBCore via
exports.qbx_core:GetPlayer(src); the deal/evaluate logic is framework-agnostic and stays server-side.
Profit Potential
$150β$2000/mo on Tebex (expected ~$450). [INFERRED] priced inside the $50-389 FiveM script band against a stable single-player-terminal niche; corpus median seller $11.85K/mo (signal-scraper tebex_snapshot n=100).
Trend Signal
β stable β inferred: Domain: single-player terminal floor-filler, low supply.
Sales Angle
Position as the low-supply, no-dealer floor-filler that monetizes idle players one seat at a time β cheap to drop in, easy to reskin the paytable. Recommended Tebex price $79.
Difficulty & Ship Time
beginner Β· ships in 2-4h.