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

# Config Files

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

```lua
Config = {}

Config.Debug = true

-- Language: 'en' / 'es'
Config.Locale = 'en'

-- auto / qb / qbx / esx / standalone
Config.Framework = 'auto'

Config.Command = 'pausemenu'
Config.OpenWithCommand = true

Config.ServerName = 'iZaap Scripts'
Config.BrandShort = 'IZ'
Config.Accent = '#f8c82c'

Config.Buttons = {
    Resume = true,
    Settings = true,
    Map = true,
    Disconnect = true,
}

Config.Disconnect = {
    Enabled = true,
    DropMessageKey = 'server_disconnect_drop_message'
}

Config.Cinematic = {
    Enabled = true,
    FreezePlayer = true,
    HideHud = true,
    Fov = 35.0,
    InterpTime = 650,

    -- Camera relative to the player.
    FrontOffset = 2.45,
    SideOffset = 1.25,
    HeightOffset = 0.72,
    LookAtHeight = 0.62,
}

Config.Tablet = {
    Enabled = true,
    Model = 'prop_cs_tablet',

    Dict = 'amb@code_human_in_bus_passenger_idles@female@tablet@idle_a',
    Anim = 'idle_a',
    Flag = 49,

    Bone = 28422,

    Offset = vec3(-0.035, -0.018, 0.005),
    Rotation = vec3(-12.0, -72.0, -14.0)
}

Config.LuckyWheel = {
    Enabled = true,

    -- Every how many hours the player can spin again.
    CooldownHours = 24,

    TitleKey = 'lucky_title',
    SmallTitleKey = 'lucky_small_title',
    SubtitleKey = 'lucky_subtitle',
    AvailableTextKey = 'lucky_available',
    UnavailableTextKey = 'lucky_unavailable',

    Rewards = {
        {
            labelKey = 'lucky_reward_cash_500',
            icon = '$',
            type = 'money',
            account = 'cash', -- cash / bank
            amount = 500,
            chance = 35
        },

        {
            labelKey = 'lucky_reward_bank_2500',
            icon = '$',
            type = 'money',
            account = 'bank',
            amount = 2500,
            chance = 20
        },

        {
            labelKey = 'lucky_reward_water_3',
            icon = '💧',
            type = 'item',
            item = 'water',
            amount = 3,
            chance = 20
        },

        {
            labelKey = 'lucky_reward_burger_2',
            icon = '🍔',
            type = 'item',
            item = 'burger',
            amount = 2,
            chance = 15
        },

        {
            labelKey = 'lucky_reward_pistol',
            icon = '🔫',
            type = 'weapon',
            weapon = 'weapon_pistol',
            ammo = 24,
            chance = 5
        },

        {
            labelKey = 'lucky_reward_vipcoins_100',
            icon = '★',
            type = 'command',
            command = 'givecoins {id} 100',
            chance = 5
        }
    }
}

Config.PauseSettings = {
    Enabled = true,

    TitleKey = 'settings_title',
    SubtitleKey = 'settings_subtitle',

    Music = {
        Enabled = true,

        -- YouTube link.
        YoutubeUrl = 'https://youtu.be/xneiaE_SCg8?si=4UKcwW7tANwo1AUG',

        -- Enabled by default.
        DefaultEnabled = true,

        -- 0 - 100
        DefaultVolume = 35,

        Loop = true
    },

    Advanced = {
        Enabled = true,
        LabelKey = 'settings_advanced_label',
        DescriptionKey = 'settings_advanced_description'
    }
}

------------------------------------------------------------
-- Active Jobs Box
-- This is shown at the bottom-right of the pause menu.
-- Hover over it to expand and see each configured job group.
------------------------------------------------------------

Config.ActiveJobs = {
    Enabled = true,
    TitleKey = 'active_jobs_title',
    HintKey = 'active_jobs_hint',

    Jobs = {
        {
            key = 'officers',
            labelKey = 'officers',
            requireDuty = true, -- true = only counts players on duty. ESX counts all players with that job.
            jobs = {
                police = true,
            }
        },

        -- Example for later:
        -- {
        --     key = 'ems',
        --     label = 'EMS',
        --     requireDuty = true,
        --     jobs = {
        --         ambulance = true,
        --     },
        -- },
    }
}

Config.SocialButtons = {
    Enabled = true,

    Discord = {
        Enabled = true,
        Url = 'https://discord.gg/izaapscripts'
    },

    Store = {
        Enabled = true,
        Url = 'https://store.izaapscripts.com/'
    },

    YouTube = {
        Enabled = true,
        Url = 'https://www.youtube.com/@izaapscripts'
    }
}

```

{% endtab %}
{% endtabs %}
