> For the complete documentation index, see [llms.txt](https://bytexcripts.gitbook.io/bytexcripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bytexcripts.gitbook.io/bytexcripts-docs/roulette/settings.md).

# Settings

<div align="left"><figure><img src="/files/J7SUjkB12hweOAOOzX39" alt="" width="18"><figcaption></figcaption></figure></div>

Puede añadir más coordenadas donde quiere que haya ruletas y así que se pueda jugar en otros lugares y, también puede añadir más recompensas a la ruleta.

<div align="left"><figure><img src="/files/bVJIxvEgfTGJYhZYQjJN" alt="" width="18"><figcaption></figcaption></figure></div>

You can add more coordinates where you want the roulettes to be so that you can play in other places, and you can also add more rewards to the roulette.

{% code title="config.lua" overflow="wrap" lineNumbers="true" %}

```lua
GLOBALS = {
    framework = "qb-core", -- Compatible with -> qb-core and esx.
    target = "qb-target", -- Compatible with -> ox_target, qtarget, qb-target.
    notifications = "qb-core", -- Compatible with -> qb-core, esx and custom.
    rouletteBet = 1000, -- Price to use the roulette.
    Cooldown = 24, -- Cooldown in hours to use again the roulette.
    PropModel = "vw_prop_vw_luckywheel_02a", -- Model of the roulette.
    PropCoords = {
        {
            coords = vector4(218.85, -811.53, 29.85, 163.9), -- Coords in vector4 of the roulette prop.
            active = true -- If the roulette is active or not.
        },
    },
}

TRANSLATIONS = {
    ["cooldownMessage"] = "¡Lo siento! Debes esperar %d horas y %d minutos antes de poder jugar de nuevo.", -- Cooldown message.
    ["playRoulette"] = "Play Roulette", -- Play roulette message.
    ["noMoney"] = "¡No tienes el dinero necesario!", -- No money message.
    ["winningMessage"] = "¡Has ganado %s!", -- Message when player wins.
    ["enterBet"] = "Please enter a bet --> $%d", -- Enter a bet message.
}

ITEMS = {
    {
        name = "weapon_pistol", -- Name of the item.
        label = "Pistol", -- Label that shows in the roulette.
        chance = 2, -- Chance of winning the item.
        type = "weapon", -- Type of the item (item, weapon or money).
        class = "legendary" -- Class of the item (legendary, epic, rare, common).
    },
    {
        name = "big_money",
        label = "Big Money Bag",
        amount = 25000,
        chance = 15,
        type = "money",
        class = "epic"
    },
    {
        name = "phone",
        label = "Phone",
        chance = 20,
        type = "item",
        class = "common"
    },
    {
        name = "lockpick",
        label = "Lockpick",
        chance = 25,
        type = "item",
        class = "rare"
    },
    {
        name = "small_money",
        label = "Small Money Bag",
        amount = 5000,
        chance = 35,
        type = "money",
        class = "rare"
    },
    {
        name = "weapon_switchblade",
        label = "Switchblade",
        chance = 5,
        type = "weapon",
        class = "legendary"
    },
    {
        name = "weapon_knife",
        label = "Knife",
        chance = 8,
        type = "weapon",
        class = "legendary"
    }
}
```

{% endcode %}
