# Robbery Spawn Docs

Here is the official documentation for the robbery spawn system

{% hint style="info" %}
For the Robbery Spawns variables to be activated you need to have a interactable with the robberyspawn variable set to true.
{% endhint %}

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

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

{% endcode %}

***
