Containers
Configuration
Configuration options for the Containers resource.
Configuration
Config = {}
Config.Framework = 'qbcore'
Config.RespawnTime = 900
Config.PoliceAlert = true
Config.PoliceJob = 'police'
Config.Containers = {
{
label = 'Dockyard Crate',
prop = 'prop_box_ammo02a',
coords = vector4(-453.4, -2768.9, 6.0, 90.0),
loot = {
{ item = 'metalscrap', min = 2, max = 8, chance = 80 },
{ item = 'copper', min = 1, max = 3, chance = 40 },
{ item = 'pistol_ammo', min = 5, max = 15, chance = 20 },
},
},
}Options
| Key | Type | Description |
|---|---|---|
RespawnTime | number | Seconds before container refills |
PoliceAlert | boolean | Alert police on search |
PoliceJob | string | Job to notify |
Containers | table | Container definitions with loot tables |
