Config file

--[[ 
    this script needs tgiann-core script to work, you can download the script from your keymaster account
    Start tgiann-core script after es_extented/qb-core script and before tgiann-* scripts
    Adjust the tgiann-core config file according to the framework you are using
]]

tgiCoreExports = exports["tgiann-core"]
config = tgiCoreExports:getConfig()

config.policeJobs = {
    "police"
}
config.playerMaxBuyStroge = {
    active = true,
    amount = 1
}
config.moneyType = "bank"

config.blips = {
    {
        coords = vector3(-1690.16, -760.99, 10.19),
        sprite = 568,
        scale = 0.7,
        colour = 0,
    }
}

config.storages = {
    --Storage 1
    {
        money = 1000, -- Rent Price
        isOpaned = false, -- Dont
        stash = {maxweight = 150000, slots = 50}, -- QB Stash Data (u can edit stash function from editable.lua)
        insideCoord = vector3(-1705.64, -732.64, 10.24), -- Open Stash Coord
        isidePressDistance = 3, -- Stash Open Distance
        pressKeyDist = 4, -- Door Close/Open Distance
        rentDay = 30, -- rental period
        reBuyDay = 25, -- After how many days can player pay the rent again?
        policeCanRaid = {
            active = true, -- Police Can Raid
            minGrade = 2, -- Police Min Grade
        },
        door = {
            coord = vector3(-1708.43, -735.45, 10.66), -- Storage Door Coords
            model = -691755537, -- Storage Door Model
        },
        
    },
    --Storage 2
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1700.27, -738.11, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1702.33, -740.56, 10.66),
            model = -691755537,
        },
    },
    --Storage 3
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1693.6, -743.49, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1696.18, -745.72, 10.66),
            model = -691755537,
        },
    },

    --Storage 4
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1687.15, -748.78, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1689.29, -751.52, 10.65),
            model = -691755537,
        },
    },
    --Storage 5
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1680.27, -754.52, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1682.79, -756.96, 10.65),
            model = -691755537,
        },
    },
    --Storage 6
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1673.26, -760.37, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1676.21, -762.48, 10.65),
            model = -691755537,
        },
    },

    --Storage 7
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1667.18, -765.44, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1669.63, -768.0, 10.65),
            model = -691755537,
        },
    },
    --Storage 8
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1652.99, -784.26, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1655.06, -781.89, 10.63),
            model = -691755537,
        },
    },

    --Storage 9
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1658.03, -789.93, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1660.2, -787.98, 10.64),
            model = -691755537,
        },
    },
    --Storage 10
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1662.95, -796.65, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1665.72, -794.48, 10.63),
            model = -691755537,
        },
    },
    --Storage 11
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1676.64, -785.46, 10.02),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1673.85, -783.01, 10.61),
            model = -691755537,
        },
    },
    --Storage 12
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1681.93, -780.52, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1679.98, -777.89, 10.62),
            model = -691755537,
        },
    },
  
    --Storage 13
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1687.87, -775.71, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1686.11, -772.74, 10.65),
            model = -691755537,
        },
    },
    --Storage 14
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1694.26, -770.67, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1693.03, -766.95, 10.64),
            model = -691755537,
        },
    },
    --Storage 15
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1702.14, -764.55, 10.26),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1699.52, -761.5, 10.64),
            model = -691755537,
        },
    },
    --Storage 16
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1708.2, -759.29, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1706.1, -755.99, 10.62),
            model = -691755537,
        },
    },
    --Storage 17
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1714.52, -752.31, 10.24),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1712.68, -750.46, 10.62),
            model = -691755537,
        },
    },

    --Storage 18
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1637.75, -797.17, 10.35),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1640.45, -794.32, 10.76),
            model = -691755537,
        },
    },

    --Storage 19
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1643.22, -802.29, 10.35),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1645.56, -800.43, 10.73),
            model = -691755537,
        },
    },
    --Storage 20
    {
        money = 1000,
        stash = {maxweight = 150000, slots = 50},
        insideCoord = vector3(-1648.66, -809.03, 10.35),
        isidePressDistance = 3,
        pressKeyDist = 4,
        rentDay = 30,
        reBuyDay = 25,
        policeCanRaid = {
            active = true,
            minGrade = 2,
        },
        door = {
            coord = vector3(-1651.06, -806.98, 10.72),
            model = -691755537,
        },
    },
}

config.OpenKey = 74 -- H
config.lang = "en"
config.langs = {
	tr = {
        storage = "Depo",
        lockStorage = "Depoyu Kilitle",
        changePassword = "Şifreyi Değiştir",
        reBuy = "Deponun Kira Süresini Uzat",
        lastReBuyDate = "Son Ödeme Tarihi",
        openStorage = "Depoyu Aç",
        newPassord = "Yeni Şifre",
        setPassword = "Şifre Belirle",
        oldPassword = "Eski Şifre",
        currentPassword = "Şifreyi Girin",
        buyStorage = "Depoyu Kirala",
        buyMoney = "Kira Ücreti",
        buyTime = "Kira Süresi",
        buyDays = "Günlük",
        openStash = "Depoya Bak",
        alreadyBuyed = "Bu Deponun Zaten Sahibi Var",
        buyed = "Depo Kiralandı",
        plsTypePassword = "Bir Şifre Belirlemelisin",
        plsTypePassword2 = "Bir Şifre Girmelisin",
        passwordSeted = "Şifre Belirlendi! Şifren: ",
        passwordWrong = "Şifre Yanlış",
        passwordChanged = "Şifre Değiştirildi! Yeni Şifren: ",
        reBuyed = "Depo Yeniden Kiralandı",
        canReBuyText = "Depoyu En Erken Tekrar %s Tarihinde Kiralayabilirsin",
        noMoney = "Yeterli Miktarda Paran Yok!",
        raid= "Depoyu Raidle",
        noOwner = "Deponun Bir Sahibi Yok!",
        noMoreBuy = "Daha Fazla Depo Satın Alamazsın!",
        --Door 3d text
        Locked = "Kilitli",
        Unlocked = "Açık",
        H = "[H]",
        greenColor = "~g~",
        redColor = "~r~",
    },
    en = {
        storage = "Storage",
        lockStorage = "Lock Storage",
        changePassword = "Change Password",
        reBuy = "Rerent The Storage",
        lastReBuyDate = "Last Payment Date",
        openStorage = "Open Storage",
        newPassord = "New Password",
        setPassword = "Set Password",
        oldPassword = "Old Password",
        currentPassword = "Enter Password",
        buyStorage = "Rent Storage",
        buyMoney = "Rent Fee",
        buyTime = "Rent Time",
        buyDays = "Days",
        openStash = "Check Storage",
        alreadyBuyed = "This Storage Has Already Been Rented",
        buyed = "Storage Rented",
        plsTypePassword = "You Must Set a Password",
        plsTypePassword2 = "You Must Enter a Password",
        passwordSeted = "Password Set! Your Password: ",
        passwordWrong = "Wrong Password",
        passwordChanged = "Password Changed! Your New Password: ",
        reBuyed = "Storage Rent Renewed",
        canReBuyText = "You Can Rent the Storage Again at Earliest on %s Date",
        noMoney = "You Don't Have Enough Money!",
        raid= "Raid The Storage",
        noOwner = "Storage Has No Owner",
        noMoreBuy = "You Can't Buy More Storage!",
        --Door 3d text
        Locked = "Locked",
        Unlocked = "Unlocked",
        H = "[H]",
        greenColor = "~g~",
        redColor = "~r~",
    }
}

--[[ 
config.langs[config.lang].storage
]]

Last updated