LootCases
Last updated
Last updated
Gather item images from your inventory
ItemImageResource = 'ox_inventory',
ItemImagePath = '/web/images/',
The lower the number the lower the chance
RarityChance = {
["Common"] = 80, -- Lowest Chance
["Uncommon"] = 50,
["Rare"] = 30,
["Epic"] = 15,
["Legendary"] = 1, --Rarity Chance
},
Setup your case with custom item's, weapon's & money!
CaseList = {
["common_case"] = { -- Usable Item
Title = "Common Case",
Color = "#FFFFFF",
Items = {
{name = "9mm", item = "pistol_ammo", amount = 1, rarity = "Legendary", img = ""},
{name = "DEEG", item = "WEAPON_REVOLVER", amount = 1, rarity = "Legendary", img = ""},
{name = "$1,000,000", item = "money", amount = 1000000, rarity = "Legendary", img = ""},
},
},
},