> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/poker.md).

# Poker

Managing Poker in the Casino Editor

The Poker editor page manages poker 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-cb8744bc49922db56c45ebb690c45becc6679347%2Fcapt_poker.png?alt=media" alt=""><figcaption></figcaption></figure></div>

### Editor Settings

<table data-full-width="false"><thead><tr><th>Setting</th><th>Info</th></tr></thead><tbody><tr><td>Table Name</td><td>Choose a display name for the poker table</td></tr><tr><td>Table Model</td><td>Select the poker table model/hash</td></tr><tr><td>Preset</td><td>Select gameplay preset/config used by this table</td></tr><tr><td>Ped Model</td><td>Choose dealer NPC model used for this table</td></tr><tr><td>Variation</td><td>Choose how this dealer looks. Variation 1 keeps the model default.</td></tr><tr><td>VIP Only</td><td>Restrict table usage to VIP players only</td></tr><tr><td>Ambient</td><td>Mark table as ambient/background mode</td></tr><tr><td>Enable Society</td><td>Enable society/account integration for table revenue</td></tr><tr><td>Society Name</td><td>Set society/account name used when society is enabled</td></tr><tr><td>Proximity</td><td>Set interaction distance in meters</td></tr><tr><td>Load Only Inside Interiors</td><td>Load this poker table only while players are in interiors</td></tr><tr><td>Change Position</td><td>Move this table with the gizmo</td></tr><tr><td>Change Rotation</td><td>Rotate this table with the gizmo</td></tr><tr><td>Spawn Table</td><td>Cycle to Poker, then select to spawn a table at your position</td></tr><tr><td>Delete Table</td><td>Delete selected poker table</td></tr></tbody></table>

## PokerConfigs

Poker presets are defined in `configs/games/poker.lua` in the `PokerConfigs` table.

The editor Preset field selects one of these preset keys.

<table data-full-width="false"><thead><tr><th>Config field</th><th>Info</th></tr></thead><tbody><tr><td><code>TextureID</code></td><td>Table texture/style variant id</td></tr><tr><td><code>Title</code></td><td>Title displayed for this poker preset</td></tr><tr><td><code>PlaceBetsTime</code></td><td>Betting phase time in seconds</td></tr><tr><td><code>MinBetValueAntePlay</code></td><td>Minimum ante/play bet value</td></tr><tr><td><code>MaxBetValueAntePlay</code></td><td>Maximum ante/play bet value</td></tr><tr><td><code>MinBetValuePairPlus</code></td><td>Minimum pair-plus bet value</td></tr><tr><td><code>MaxBetValuePairPlus</code></td><td>Maximum pair-plus bet value</td></tr><tr><td><code>RTP</code></td><td>Rolling return-to-player guardrail. More in <a href="https://documentation.rcore.cz/paid-resources/rcore_casino/config-reference/tweaking-games/poker.md#house-edge-and-fairness">House edge and fairness</a>.</td></tr><tr><td><code>ExposureBias</code></td><td>Raises bias when this round is about to pay out a lot. More in <a href="https://documentation.rcore.cz/paid-resources/rcore_casino/config-reference/tweaking-games/poker.md#house-edge-and-fairness">House edge and fairness</a></td></tr><tr><td><code>PlayerControls</code></td><td>Raises bias against players who are far ahead or on a win streak</td></tr><tr><td><code>FairnessWindows</code></td><td>Alternating guaranteed-fair and bias-eligible windows</td></tr></tbody></table>

## PokerPlayableHashes

Playable poker models are defined in `configs/games/poker.lua` in `PokerPlayableHashes`.

Only models listed in `PokerPlayableHashes` are treated as playable poker 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><th>Default preset</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-b447f9b9de79f062ccf467d7a782494a0111b6ea%2Fvw_prop_casino_3cardpoker_01.png?alt=media" alt=""></td><td><code>vw_prop_casino_3cardpoker_01</code></td><td><code>normalstakes</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-ea5ee7f593ed440754e3fc7aa4abfc33cf85fce1%2Fvw_prop_casino_3cardpoker_01b.png?alt=media" alt=""></td><td><code>vw_prop_casino_3cardpoker_01b</code></td><td><code>normalstakes</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-23ad39d505164d66892f3ec890bbc2dbc73eeede%2Fh4_prop_casino_3cardpoker_01e.png?alt=media" alt=""></td><td><code>h4_prop_casino_3cardpoker_01e</code></td><td><code>custom</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-b447f9b9de79f062ccf467d7a782494a0111b6ea%2Fvw_prop_casino_3cardpoker_01.png?alt=media" alt=""></td><td><code>ch_prop_casino_poker_01a</code></td><td><code>normalstakes</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-ea5ee7f593ed440754e3fc7aa4abfc33cf85fce1%2Fvw_prop_casino_3cardpoker_01b.png?alt=media" alt=""></td><td><code>ch_prop_casino_poker_01b</code></td><td><code>normalstakes</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-5528cd2b56cf049164bfdc88355fecd3d5eb1b60%2Fh4_prop_casino_3cardpoker_01a.jpg?alt=media" alt=""></td><td><code>h4_prop_casino_3cardpoker_01a</code></td><td><code>normalstakes</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-08719bcd8c206847e5d5ed4b45b3d77310029b75%2Fh4_prop_casino_3cardpoker_01b.jpg?alt=media" alt=""></td><td><code>h4_prop_casino_3cardpoker_01b</code></td><td><code>normalstakes</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-f63826af5e210c5118800c31fb19ef3fbf539827%2Fh4_prop_casino_3cardpoker_01c.jpg?alt=media" alt=""></td><td><code>h4_prop_casino_3cardpoker_01c</code></td><td><code>normalstakes</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-605866c30208ebefa71e678c91b6b130d457c1af%2Fh4_prop_casino_3cardpoker_01d.jpg?alt=media" alt=""></td><td><code>h4_prop_casino_3cardpoker_01d</code></td><td><code>normalstakes</code></td></tr></tbody></table>

## TablePedModels

Selectable dealer ped models are defined in `configs/games/poker.lua` in `TablePedModels`.

Only models from this list can be picked as dealers in the editor. Poker, blackjack and roulette share it.

```lua
TablePedModels = {
    "S_M_Y_Casino_01",
    "S_F_Y_Casino_01",
    "u_f_m_casinocash_01",
    "u_f_m_casinoshop_01",
    "ADD_YOUR_PED_HERE",
}
```

## Ambient Poker Tables

The Ambient toggle in editor controls whether a poker 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-b6561725b94787ad5fdc8c045701c735850f6c0c%2Fpoker_ambient.png?alt=media" alt=""><figcaption></figcaption></figure></div>

Ambient spectator/nearby ped models are configured in `configs/games/poker.lua` in the `TableAmbientPeds` list. Poker, blackjack and roulette all draw their ambient peds from this list, so a model added here shows up around every table type.

```lua
TableAmbientPeds = {
    "a_f_m_bevhills_01",
    "a_m_m_bevhills_01",
    "a_m_m_fatlatin_01",
    "a_f_y_fitness_01",
    "a_f_y_smartcaspat_01",
    "a_m_m_mexlabor_01",
    "a_m_m_tennis_01",
    "a_f_y_vinewood_04",
    "a_f_y_hipster_02",
    "a_f_y_hippie_01",
    "a_f_y_eastsa_01",
    "a_f_o_soucent_01",
    "a_f_m_tramp_01",
    "ADD_YOUR_MODEL_HERE",
}
```
