> For the complete documentation index, see [llms.txt](https://ykaadocs.gitbook.io/ykaa-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ykaadocs.gitbook.io/ykaa-scripts/paid-scripts/ykaa-house-robbery/configuration.md).

# Configuration

```lua
Config = {}

-- Before you start configuring the script, read the readme.md
-- House Robbery will be updated if something doesnt work!!!

-- [ SETTINGS ]
Config.Framework = "esx" -- Framework name [esx / qb]
Config.Target = "ox_target" -- Target resource for interaction zones: ox_target/qt_target
Config.Notify = "ox_lib" -- Notification resource: oxlib/okoknotify
Config.Dispatch = "cd_dispatch" -- Select your Dispatch: "cd" / "cd_dispatch" [Codesign], "ps" / "ps-dispatch", or "none" to disable
Config.PoliceJobs = { 'police', 'sheriff' } -- Jobs considered as police for dispatch and requirement checks
Config.RequiredItem = "lockpick" -- Item needed to start the robbery
Config.ProgressTime = 5000  -- Time in milliseconds for lockpicking
Config.Cooldown = 1800 -- Cooldown time in seconds for each house after a robbery
Config.PoliceRequired = 3 -- Required police online to start a robbery

-- [ LOOT ]
Config.Items = { -- Possible loot items with their chances and amounts
    {item = "money", amount = {min = 1000, max = 5000}, chance = 30},
    {item = "lockpick", amount = {min = 1, max = 2}, chance = 20},
    {item = "panties", amount = {min = 1, max = 3}, chance = 30},
    {item = "WEAPON_PISTOL", amount = {min = 1, max = 1}, chance = 5},
    {item = "WEAPON_KNUCKLE", amount = {min = 1, max = 1}, chance = 5},

}

-- [ EXIT INTERIOR ]
Config.InteriorExit = vector3(266.0, -1007.0, -101.0) -- Coordinates where the player will be teleported when exiting the house interior

-- [ LOCATIONS ]
Config.Locations = {
    -- Vinewood Locations
    { coords = vector3(315.7141, 502.0003, 153.1798),   label = "Start House Robbery", icon = "fas fa-house-crack", LootPoints = defaultLoot },
    { coords = vector3(232.3108, 672.2244, 189.9794),   label = "Start House Robbery", icon = "fas fa-house-crack", LootPoints = defaultLoot },
    { coords = vector3(57.6683, 449.6019, 147.0314),    label = "Start House Robbery", icon = "fas fa-house-crack", LootPoints = defaultLoot },
    { coords = vector3(331.5225, 465.2883, 151.2531),   label = "Start House Robbery", icon = "fas fa-house-crack", LootPoints = defaultLoot },
    { coords = vector3(85.0289, 561.6487, 182.7730),    label = "Start House Robbery", icon = "fas fa-house-crack", LootPoints = defaultLoot },
    { coords = vector3(-459.3054, 537.0839, 121.4603),  label = "Start House Robbery", icon = "fas fa-house-crack", LootPoints = defaultLoot },
    { coords = vector3(42.9676, 468.8272, 148.0959),    label = "Start House Robbery", icon = "fas fa-house-crack", LootPoints = defaultLoot },
    { coords = vector3(-7.9438, 467.8553, 145.8449),    label = "Start House Robbery", icon = "fas fa-house-crack", LootPoints = defaultLoot },

    -- Mirror Park Locations
    { coords = vector3(970.8679, -701.4294, 58.4820),   label = "Start House Robbery", icon = "fas fa-house-crack", LootPoints = defaultLoot },
    { coords = vector3(959.9027, -669.9072, 58.4498),   label = "Start House Robbery", icon = "fas fa-house-crack", LootPoints = defaultLoot },
    { coords = vector3(919.7136, -569.6260, 58.3664),   label = "Start House Robbery", icon = "fas fa-house-crack", LootPoints = defaultLoot },
    { coords = vector3(861.4890, -509.0576, 57.7215),   label = "Start House Robbery", icon = "fas fa-house-crack", LootPoints = defaultLoot },
    { coords = vector3(906.3123, -489.4497, 59.4362),   label = "Start House Robbery", icon = "fas fa-house-crack", LootPoints = defaultLoot },
}
```


---

# 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://ykaadocs.gitbook.io/ykaa-scripts/paid-scripts/ykaa-house-robbery/configuration.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.
