📝Configurables

--[[
BY RX Scripts Š rxscripts.xyz
--]]

Config.SearchAnim = {
    dict = "mini@repair",
    anim = "fixing_a_player",
}

Config.LockItem = 'codelock'
Config.LockProp = 'codelock'

Config.StorageCrates = {
    {
        label = 'Wooden Storage Big',
        prop = "boxonebig",
        placeItem = "boxonebig",
        slots = 12,
        icon = "fas fa-box-open",
        iconColor = "#ff0000",
    },
    {
        label = 'Wooden Storage Small',
        prop = "boxonesmall",
        placeItem = "boxonesmall",
        slots = 6,
        icon = "fas fa-box-open",
        iconColor = "#ff0000",
    },
    {
        label = 'Wooden Storage Small',
        prop = "boxtwosmall",
        placeItem = "boxtwosmall",
        slots = 6,
        icon = "fas fa-box-open",
        iconColor = "#ff0000",
    },
    {
        label = 'Wooden Storage Big',
        prop = "boxtwobig",
        placeItem = "boxtwobig",
        slots = 12,
        icon = "fas fa-box-open",
        iconColor = "#ff0000",
    },
    {
        label = 'Wooden Storage Big',
        prop = "boxtreebig",
        placeItem = "boxtreebig",
        slots = 12,
        icon = "fas fa-box-open",
        iconColor = "#ff0000",
    },
}

Config.StorageStackLimits = {
    ['WEAPON_ASSAULTRIFLE'] = 1,
}

Config.RespawnCrates = {
    {
        label = 'Supply Crate',
        prop = "boxcrate",
        locations = {
            vector4(3053.4177, -4725.9736, 15.2616, 18.8735),
            vector4(3046.7397, -4727.8799, 15.2613, 45.3019),
        },
        spawning = {
            limit = 1, -- How many crates can be spawned at once from locations above
            different = false, -- If true, will spawn on different location then previous
        },
        slots = 12,
        icon = "fas fa-box-open", -- https://fontawesome.com/icons
        iconColor = "#ff0000",
        respawnTime = 1, -- Minutes, set to false to disable
        spawnDirect = false, -- Spawn crate directly after script start
        hacking = {
            enabled = true,
            time = 1, -- Minutes
            minigame = true,
            item = 'redkeycard', -- false to disable
            removeItem = true, -- Remove item from player after hacking
        },
        contents = {
            itemsAmount = function() return math.random(3, 6) end,
            lootables = { -- Make sure all chances add up to 100
                { item = 'WEAPON_ASSAULTRIFLE', amount = 1, chance = 20 },
                { item = 'at_flashlight', amount = 1, chance = 30 },
                { item = 'ammo-rifle2', amount = function() return math.random(20, 50) end, chance = 30 },
                { item = 'armour', amount = 1, chance = 20 },
            }
        },
        blip = { -- Remove this if u don't want a blip on crate spawn
            sprite = 478,
            color = 1,
            display = 4,
            scale = 1.0,
            shortRange = true,
            label = 'Supply Crate',
        }
    },
    {
        label = 'Ammo Crate',
        prop = "crateammo",
        locations = {
            vector4(3046.7034, -4706.5747, 15.2616, 288.2096),
        },
        slots = 12,
        icon = "fas fa-box-open", -- https://fontawesome.com/icons
        iconColor = "#ff0000",
        respawnTime = 1, -- Minutes, set to false to disable
        spawnDirect = true, -- Spawn crate directly after script start
        hacking = {
            enabled = true,
            time = 1, -- Minutes
            minigame = true,
            item = 'bluekeycard', -- Set to false to disable
        },
        contents = {
            itemsAmount = function() return math.random(3, 6) end,
            lootables = { -- Make sure all chances add up to 100
                { item = 'ammo-rifle2', amount = function() return math.random(20, 50) end, chance = 25 },
                { item = 'ammo-shotgun', amount = function() return math.random(20, 50) end, chance = 25 },
                { item = 'ammo-9', amount = function() return math.random(20, 50) end, chance = 25 },
                { item = 'ammo-musket', amount = function() return math.random(20, 50) end, chance = 25 },
            }
        }
    },
    {
        label = 'Bomb Crate',
        prop = "cratec4",
        locations = {
            vector4(3047.8506, -4709.7803, 15.2616, 281.4715),
        },
        slots = 12,
        icon = "fas fa-box-open", -- https://fontawesome.com/icons
        iconColor = "#ff0000",
        respawnTime = 30, -- Minutes, set to false to disable
        spawnDirect = true, -- Spawn crate directly after script start
        hacking = {
            enabled = true,
            time = 5, -- Minutes
            minigame = false,
            item = false,
        },
        contents = {
            itemsAmount = function() return math.random(3, 6) end,
            lootables = { -- Make sure all chances add up to 100
                { item = 'WEAPON_ASSAULTRIFLE', amount = 1, chance = 3 },
                { item = 'WEAPON_PISTOL', amount = 1, chance = 8 },
                { item = 'ammo-rifle2', amount = function() return math.random(20, 50) end, chance = 30 },
                { item = 'water', amount = function() return math.random(3, 10) end, chance = 59 },
            }
        }
    },
    {
        label = 'Basic Crate',
        prop = "lootcratebasic",
        locations = {
            vector4(3049.0000, -4713.0693, 15.2616, 287.8040),
        },
        slots = 12,
        icon = "fas fa-box-open", -- https://fontawesome.com/icons
        iconColor = "#ff0000",
        respawnTime = 30, -- Minutes, set to false to disable
        spawnDirect = true, -- Spawn crate directly after script start
        hacking = {
            enabled = false,
            time = 15, -- Minutes
            minigame = true,
            item = false,
        },
        contents = {
            itemsAmount = function() return math.random(3, 6) end,
            lootables = { -- Make sure all chances add up to 100
                { item = 'WEAPON_ASSAULTRIFLE', amount = 1, chance = 3 },
                { item = 'WEAPON_PISTOL', amount = 1, chance = 8 },
                { item = 'ammo-rifle2', amount = function() return math.random(20, 50) end, chance = 30 },
                { item = 'water', amount = function() return math.random(3, 10) end, chance = 59 },
            }
        },
        blip = { -- remove this if u don't want a blip on crate spawn
            sprite = 478,
            color = 1,
            display = 4,
            scale = 1.0,
            shortRange = true,
            label = 'Basic Crate',
        }
    },
    {
        label = 'Food Crate',
        prop = "lootcratefood",
        locations = {
            vector4(3050.1790, -4716.1348, 15.2616, 270.5500),
        },
        slots = 12,
        icon = "fas fa-box-open", -- https://fontawesome.com/icons
        iconColor = "#ff0000",
        respawnTime = 30, -- Minutes, set to false to disable
        spawnDirect = true, -- Spawn crate directly after script start
        hacking = {
            enabled = false,
            time = 15, -- Minutes
            minigame = true,
            item = false,
        },
        contents = {
            itemsAmount = function() return math.random(3, 6) end,
            lootables = { -- Make sure all chances add up to 100
                { item = 'WEAPON_ASSAULTRIFLE', amount = 1, chance = 3 },
                { item = 'WEAPON_PISTOL', amount = 1, chance = 8 },
                { item = 'ammo-rifle2', amount = function() return math.random(20, 50) end, chance = 30 },
                { item = 'water', amount = function() return math.random(3, 10) end, chance = 59 },
            }
        }
    },
    {
        label = 'Medical Crate',
        prop = "lootcratemedi",
        locations = {
            vector4(3051.3313, -4718.6816, 15.2616, 249.9581),
        },
        slots = 12,
        icon = "fas fa-box-open", -- https://fontawesome.com/icons
        iconColor = "#ff0000",
        respawnTime = 30, -- Minutes, set to false to disable
        spawnDirect = true, -- Spawn crate directly after script start
        hacking = {
            enabled = false,
            time = 15, -- Minutes
            minigame = true,
            item = false,
        },
        contents = {
            itemsAmount = function() return math.random(3, 6) end,
            lootables = { -- Make sure all chances add up to 100
                { item = 'WEAPON_ASSAULTRIFLE', amount = 1, chance = 3 },
                { item = 'WEAPON_PISTOL', amount = 1, chance = 8 },
                { item = 'ammo-rifle2', amount = function() return math.random(20, 50) end, chance = 30 },
                { item = 'water', amount = function() return math.random(3, 10) end, chance = 59 },
            }
        }
    },
    {
        label = 'Elite Crate',
        prop = "crateelite",
        locations = {
            vector4(3052.4419, -4721.6367, 15.2616, 110.0965),
        },
        slots = 12,
        icon = "fas fa-box-open", -- https://fontawesome.com/icons
        iconColor = "#ff0000",
        respawnTime = 30, -- Minutes, set to false to disable
        spawnDirect = true, -- Spawn crate directly after script start
        hacking = {
            enabled = false,
            time = 15, -- Minutes
            minigame = true,
            item = false,
        },
        contents = {
            itemsAmount = function() return math.random(3, 6) end,
            lootables = { -- Make sure all chances add up to 100
                { item = 'WEAPON_ASSAULTRIFLE', amount = 1, chance = 5 },
                { item = 'WEAPON_PISTOL', amount = 1, chance = 10 },
                { item = 'ammo-rifle2', amount = function() return math.random(20, 50) end, chance = 25 },
                { item = 'ammo-shotgun', amount = function() return math.random(20, 50) end, chance = 25 },
                { item = 'ammo-9', amount = function() return math.random(20, 50) end, chance = 20 },
                { item = 'ammo-musket', amount = function() return math.random(20, 50) end, chance = 15 },
            }
        }
    },
    {
        label = 'Military Crate',
        prop = "militarycrates",
        locations = {
            vector4(3050.1714, -4726.9888, 15.2614, 18.4443),
        },
        slots = 12,
        icon = "fas fa-box-open", -- https://fontawesome.com/icons
        iconColor = "#ff0000",
        respawnTime = 30, -- Minutes, set to false to disable
        spawnDirect = true, -- Spawn crate directly after script start
        hacking = {
            enabled = false,
            time = 15, -- Minutes
            minigame = true,
            item = false,
        },
        contents = {
            itemsAmount = function() return math.random(3, 6) end,
            lootables = { -- Make sure all chances add up to 100
                { item = 'WEAPON_ASSAULTRIFLE', amount = 1, chance = 3 },
                { item = 'WEAPON_PISTOL', amount = 1, chance = 8 },
                { item = 'ammo-rifle2', amount = function() return math.random(20, 50) end, chance = 30 },
                { item = 'water', amount = function() return math.random(3, 10) end, chance = 59 },
            }
        }
    },
}

Last updated