vi/raiser
casino
casino, GTA 6 style illustration
Vaultbeginnercasino

Video Poker Machine

ESX/QBCore single-player Jacks-or-Better video-poker terminal with server-dealt hold/draw and a configurable paytable.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~125 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 / mostable
$450($150 to $2,000)

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

Effort vs return
beginner2-4h

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

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

🔒 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-side evaluation, the player can claim a royal flush every time; deal, redraw and score in server.lua.
  • Anim before load, TaskPlayAnim no-ops without RequestAnimDict + a HasAnimDictLoaded wait 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 + AddEventHandler on 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 and xPlayer.addMoney(win) for the payout.
  • QBCore: swap to Player.Functions.RemoveMoney('cash', Bet, 'vpoker') and AddMoney('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), priced inside the $50-389 FiveM script band against a stable single-player-terminal niche; top sellers clear around $11.85K/mo (comparable Tebex).

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.