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

# Door Docs

Docs for built-in door system.

Here is the official documentation for the door system

{% code title="cfg\_robbery.lua" fullWidth="false" %}

```lua
doors = {
    { -- 1
        type = "door", -- "door","vault","automatic" | "door" is for normal doors, "vault" is for the vault doors, "automatic" is for garage doors
        position = {0.0,0.0,0.0,0.0}, -- {x,y,z,heading}
        model = GetHashKey("model"), -- door model
        status = false, -- if false the door is closed if true the door is open

        swapmodel = nil, -- door swap model | Example when you use a thermite charge it switches to a molten model version of the door
        openheading = nil, -- "vault" door heading when fully open
        openvariable = nil, -- "vault" door heading while opening
    },
}
```

{% endcode %}

***
