Here is the official documentation for the door system
cfg_robbery.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
},
}