# Roulette

The **Roulette** editor page manages roulette table placement, presets, dealer model, and access rules.

<div data-full-width="false"><figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-bcd9e958885e3b5d474a737f4278b3d3f6449646%2Fcapt_roulette.png?alt=media" alt=""><figcaption></figcaption></figure></div>

### Editor Settings

<table data-full-width="false"><thead><tr><th>Setting</th><th>Type</th><th>Info</th></tr></thead><tbody><tr><td>Name</td><td>Text</td><td>Choose a display name for the roulette table</td></tr><tr><td>Table model</td><td>Select/List</td><td>Select the roulette table model/hash</td></tr><tr><td>Preset</td><td>Select/List</td><td>Select gameplay preset/config used by this table</td></tr><tr><td>Dealer ped model</td><td>Select/List</td><td>Choose dealer NPC model used for this table</td></tr><tr><td>VIP only</td><td>Toggle</td><td>Restrict table usage to VIP players only</td></tr><tr><td>Ambient</td><td>Toggle</td><td>Mark table as ambient/background mode</td></tr><tr><td>Society enabled</td><td>Toggle</td><td>Enable society/account integration for table revenue</td></tr><tr><td>Society name</td><td>Text/List</td><td>Set society/account name used when society is enabled</td></tr><tr><td>Proximity</td><td>Number</td><td>Set interaction distance in meters</td></tr><tr><td>Load only interiors</td><td>Toggle</td><td>Load this roulette table only while players are in interiors</td></tr><tr><td>Create table</td><td>Action</td><td>Create a new roulette table at player position</td></tr><tr><td>Delete table</td><td>Action</td><td>Delete selected roulette table</td></tr></tbody></table>

## RouletteConfigs

Roulette presets are defined in `rcore_casino/configs/roulette.lua` in the `RouletteConfigs` table.

The editor **Preset** field selects one of these preset keys.

<table data-full-width="false"><thead><tr><th>Config field</th><th>Type</th><th>Info</th></tr></thead><tbody><tr><td><code>TextureID</code></td><td>Number</td><td>Table texture/style variant id</td></tr><tr><td><code>Banner</code></td><td>Text</td><td>UI/banner texture dictionary key</td></tr><tr><td><code>Title</code></td><td>Text</td><td>Title displayed for this roulette preset</td></tr><tr><td><code>MaxBets</code></td><td>Number</td><td>Maximum number of bets per player</td></tr><tr><td><code>MinBetValue</code></td><td>Number</td><td>Minimum bet value</td></tr><tr><td><code>MaxBetValue</code></td><td>Number</td><td>Maximum bet value</td></tr><tr><td><code>MaxBetValueOutside</code></td><td>Number</td><td>Maximum outside-bet value</td></tr><tr><td><code>MaxBetValueInside</code></td><td>Number</td><td>Maximum inside-bet value</td></tr><tr><td><code>PlaceBetsTime</code></td><td>Number</td><td>Betting phase time in seconds</td></tr><tr><td><code>SpinDelayMin</code></td><td>Number</td><td>Minimum delay before spin starts</td></tr><tr><td><code>SpinDelayMax</code></td><td>Number</td><td>Maximum delay before spin starts</td></tr><tr><td><code>BiasIncludesZero</code></td><td>Toggle</td><td>Allow biased outcomes to include 0/00</td></tr><tr><td><code>RTP</code></td><td>Object</td><td>Return-to-player tuning range and bias</td></tr><tr><td><code>ExposureBias</code></td><td>List</td><td>Bias tuning by threshold bands</td></tr><tr><td><code>PlayerControls</code></td><td>Object</td><td>Win cap / streak / anti-streak controls</td></tr><tr><td><code>FairnessWindows</code></td><td>Object</td><td>Unbiased vs biased round windows</td></tr></tbody></table>

## RoulettePlayableHashes

Playable roulette models are defined in `rcore_casino/configs/roulette.lua` in `RoulettePlayableHashes`.

Only models listed in `RoulettePlayableHashes` are treated as playable roulette tables and are used for editor table-model selection/create defaults.

<table data-full-width="false"><thead><tr><th width="127">Model Preview</th><th>Model Name</th></tr></thead><tbody><tr><td><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-792241e54abc56c909e5efc2bbae0f3fbb7a0a15%2Fvw_prop_casino_roulette_01b.png?alt=media" alt=""></td><td><code>vw_prop_casino_roulette_01b</code></td></tr><tr><td><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-03aaa80d19ddec04d341007ad77be64848d9f066%2Fvw_prop_casino_roulette_01.png?alt=media" alt=""></td><td><code>vw_prop_casino_roulette_01</code></td></tr></tbody></table>

## RoulettePedModels

Selectable dealer ped models are defined by roulette defaults in `rcore_casino/configs/roulette.lua` (`RouletteSettings`).

Only configured/default roulette dealer models should be used for roulette dealer peds.

```lua
RoulettePedModels = {"S_M_Y_Casino_01", "S_F_Y_Casino_01", "ADD_YOUR_PED_HERE"}
```

## Ambient Roulette Tables

The **Ambient** toggle in editor controls whether a roulette table is treated as an ambient/background table (`isAmbient = true`).

<div data-full-width="false"><figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-f83f14fbe79faa1180576cca480ac45fe2445744%2Froulette_ambient.png?alt=media" alt=""><figcaption></figcaption></figure></div>

Ambient roulette tables are useful for atmosphere and population-style behavior around tables, instead of only active gameplay-focused setups.

Ambient spectator/nearby ped models are configured in `rcore_casino/configs/roulette.lua` in the `RouletteAmbientPeds` list.

```lua
RouletteAmbientPeds = {"a_f_m_bevhills_01", "a_m_m_bevhills_01", "a_m_m_fatlatin_01", "ADD_YOUR_MODEL_HERE"}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.rcore.cz/paid-resources/rcore_casino/rcore_casino-2/editor/roulette.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
