> For the complete documentation index, see [llms.txt](https://savana.gitbook.io/savanascripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://savana.gitbook.io/savanascripts/scripts/in-or-not/config.md).

# Config

{% tabs %}
{% tab title="cfg.lua" %}

```lua
cfg = {
    core = 'qb', -- or esx
    moneyType = 'bank', -- or cash
    useTarget = true,

    minBet = 100,
    maxBet = 10000,
    timeForModal = 3, -- seconds
    gameBoxes = 24,

    winRate = 1.8, -- max money

    soundVolumes = {
        start = 0.25,
        game = 0.25,
        case = 0.25,
        phoneRinging = 0.25
    },
    
    locations = {
        [1] = {
            ped = { 
                coords = vector4(311.4284, -230.1974, 54.2211, 157.0361),
                model = 'cs_carbuyer',
            },
            targetlabel = 'Deal Or No Deal',
            targeticon = 'fas fa-gamepad',
        }
    }
}


cfg.lang = {
    last = 'Last',
    two_cases = 'Two Cases',
    choose = 'Choose',
    your_case = 'Your Case',
    error = 'Error',
    success = 'Success',
    open_case = 'Open Case',
    next_call = 'next call in _amount_ cases',
    deposit_text = 'Deposit the amount of money you want.',
    amount = 'Amount',
    confirm = 'Confirm',
    your_prize = 'Your Prize',
    congratulations = 'CONGRATULATIONS',
    congratulations_text = 'Congratulations! You won _amount_',
    prize_description = 'small text with information for someone here as example, bla-bla-bla',
    amount_won = 'Amount Won',
    enterance_fee = 'Entrance Fee',
    net_gain = 'Net Gain',
    stay = 'Stay',
    leave = 'Leave',
    leave_the_game = 'Leave the game',
    you_have = 'You have',
    deal_time = 'Deal Time!',
    attention = 'Attention!',
    deal = 'Deal',
    no_deal = 'No Deal',
    attention_text = 'small text with information for someone here as example, bla-bla-bla',
    seconds_left = 'seconds left to accept or decline the deal',
    seconds_to_decide = 'Are you sure you want to quit the game',
    max_bet_error = 'You can not bet more than ' .. cfg.maxBet .. '$',
    min_bet_error = 'You can not bet less than ' .. cfg.minBet .. '$' ,
    voice_on = "Voice On",
    voice_off = "Voice Off"
}


RegisterCommand('startgame', function()
    handleUIDisplay()
end)
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://savana.gitbook.io/savanascripts/scripts/in-or-not/config.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.
