Nuno Radio Man Scripts
  • Documentation
    • 🔫Robbery
      • 🛠️Installation
      • 📃Items
      • 📔Door Docs
      • 📘NPC Docs
      • 📗Interactable Docs
      • 📕Laser Docs
      • 📙Robbery Spawn Docs
      • 📖Robbery Minigames
      • 📓Robbery Events
    • 👷Job
      • 🛠️Installation
      • 📑Items
      • 📔Blip Docs
Powered by GitBook
On this page
  1. Documentation
  2. Robbery

Door Docs

Docs for built-in door system.

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
    },
}

PreviousItemsNextNPC Docs

Last updated 11 months ago

🔫
📔