πŸ“™Robbery Spawn Docs

Docs for built-in robbery spawn system.

Here is the official documentation for the robbery spawn system

For the Robbery Spawns variables to be activated you need to have a interactable with the robberyspawn variable set to true.

cfg_robbery.lua
robbery = {
    spawn = {
        position = {0.0,0.0,0.0,0.0}, -- {pos_x,pos_y,pos_z,heading}
	positions = { -- If you use this the position variable will be ignored
		{0.0,0.0,0.0,0.0}, -- {pos_x,pos_y,pos_z,heading}
		{0.0,0.0,0.0,0.0}, -- {pos_x,pos_y,pos_z,heading}
		{0.0,0.0,0.0,0.0}, -- {pos_x,pos_y,pos_z,heading}
	},
    },
    blip = {
        type = "area", -- "area","point"
        color = 1, -- Blip Color
        alpha = 100, -- Blip Alpha
	flash = true, -- Blip Flash

        time = 5, -- Blip Remaining Time | Minutes

        name = "Example" , -- Blip Name ONLY WORKS WHEN TYPE IS "point"
        offset = {250,250}, -- {x,y} ONLY WORKS WHEN TYPE IS "area"
    },
    interactables = { -- This interactables will be added when the robberyspawn interactable is done
    
    },
    npcs = {  -- This npcs will be added when the robberyspawn interactable is done
    
    },
}

Last updated