Description
A standalone 3-reel slot machine prop: walk up, press E to pull, and the reels resolve to a server-rolled outcome with a configurable paytable. Servers buy it because the symbol weights expose a per-server RTP knob, so an owner can keep the slot floor from draining the cash economy.
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/casino/04-slot-machine-reels.lua implements a proximity pull with a double-pull guard, a weighted symbol pool built from a per-server RTP Weights table,…
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-rolled reels — Claude rolls and pays on the client; keep the weighted
Pool,spinReeland payout server-side. - Anim before load — the lever
TaskPlayAnimno-ops unless the dict is loaded viaRequestAnimDict+while not HasAnimDictLoaded(dict) do Wait(0) end. - One-sided net event —
slots:resulton only one side never renders the spin; both sides needRegisterNetEvent+AddEventHandler.
Corrective re-prompt: Roll the reels from the weighted pool and pay out entirely in server.lua; the client may only trigger slots:pull and render the broadcast slots:result. Charge the bet with removeMoney before rolling and reject under-funded pulls. Guard the lever animation with RequestAnimDict + a HasAnimDictLoaded wait loop, and define slots:pull / slots:result with RegisterNetEvent + AddEventHandler on both sides.
Framework Integration
- ESX:
exports['es_extended']:getSharedObject(), thenxPlayer.getMoney()/removeMoney/addMoneyfor the bet and payout. - QBCore: use
exports['qb-core']:GetCoreObject()andPlayer.Functions.RemoveMoney('cash', bet)/AddMoney('cash', win). - QBox: use
exports.qbx_core:GetPlayer(src)with the sharedFunctions.AddMoney/RemoveMoney; same weighted-roll flow.
Profit Potential
$80–$900/mo on Tebex (expected ~$250). [INFERRED] priced inside the $50-389 FiveM script band against a saturated commodity niche; corpus median seller $11.85K/mo (signal-scraper tebex_snapshot n=100), at the low end as a beginner-tier prop.
Trend Signal
↘ saturated — strategy: id-028 names slots; commodity mechanic, per-server RTP config differentiates.
Sales Angle
The economy-safe slot: a per-server RTP knob owners can tune so the floor never drains the cash economy. Recommended Tebex price $59.
Difficulty & Ship Time
beginner · ships in 2-4h.