๐ ๏ธInstallation
qb-core/shared/items.lua
['m_aincientcoin'] = {['name'] = 'm_aincientcoin', ['label'] = 'Aincient Coin', ['weight'] = 0, ['type'] = 'item', ['image'] = 'm_aincientcoin.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['m_antiquecoin'] = {['name'] = 'm_antiquecoin', ['label'] = 'Antique Coin', ['weight'] = 0, ['type'] = 'item', ['image'] = 'm_antiquecoin.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['m_brokenknife'] = {['name'] = 'm_brokenknife', ['label'] = 'Broken Knife', ['weight'] = 0, ['type'] = 'item', ['image'] = 'm_brokenknife.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['m_burriedtreasure'] = {['name'] = 'm_burriedtreasure', ['label'] = 'Burried Treasure', ['weight'] = 0, ['type'] = 'item', ['image'] = 'm_burriedtreasure.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['m_diamond_ring'] = {['name'] = 'm_diamond_ring', ['label'] = 'Diamond Ring', ['weight'] = 0, ['type'] = 'item', ['image'] = 'm_diamond_ring.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['m_goldchain'] = {['name'] = 'm_goldchain', ['label'] = 'Gold Chain', ['weight'] = 0, ['type'] = 'item', ['image'] = 'm_goldchain.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['m_goldcoin'] = {['name'] = 'm_goldcoin', ['label'] = 'Gold Coin', ['weight'] = 0, ['type'] = 'item', ['image'] = 'm_goldcoin.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['m_phonebroken'] = {['name'] = 'm_phonebroken', ['label'] = 'Phone Broken', ['weight'] = 0, ['type'] = 'item', ['image'] = 'm_phonebroken.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['m_pickaxe'] = {['name'] = 'm_pickaxe', ['label'] = 'Broken Pickaxe', ['weight'] = 0, ['type'] = 'item', ['image'] = 'm_pickaxe.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['m_pocketwatch'] = {['name'] = 'm_pocketwatch', ['label'] = 'Broken Pocket Watch', ['weight'] = 0, ['type'] = 'item', ['image'] = 'm_pocketwatch.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['m_steelcan'] = {['name'] = 'm_steelcan', ['label'] = 'Steel Can', ['weight'] = 0, ['type'] = 'item', ['image'] = 'm_steelcan.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['m_treasurekey'] = {['name'] = 'm_treasurekey', ['label'] = 'Treasure Key', ['weight'] = 0, ['type'] = 'item', ['image'] = 'm_treasurekey.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
["m_oil"] = {["name"] = "m_oil", ["label"] = "Oil", ["weight"] = 50, ["type"] = "item", ["image"] = "m_oil.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["m_gas_2l"] = {["name"] = "m_gas_2l", ["label"] = "Gรกs 2L", ["weight"] = 50, ["type"] = "item", ["image"] = "m_gas_2l.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["m_gold"] = {["name"] = "m_gold", ["label"] = "Gold", ["weight"] = 50, ["type"] = "item", ["image"] = "m_gold.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["m_stone"] = {["name"] = "m_stone", ["label"] = "Stone", ["weight"] = 50, ["type"] = "item", ["image"] = "m_stone.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["m_silver"] = {["name"] = "m_silver", ["label"] = "Silver", ["weight"] = 50, ["type"] = "item", ["image"] = "m_silver.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["m_diamond"] = {["name"] = "m_diamond", ["label"] = "Diamond", ["weight"] = 50, ["type"] = "item", ["image"] = "m_diamond.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["m_wood"] = {["name"] = "m_wood", ["label"] = "Wood", ["weight"] = 50, ["type"] = "item", ["image"] = "m_wood.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["m_iron"] = {["name"] = "m_iron", ["label"] = "Iron", ["weight"] = 50, ["type"] = "item", ["image"] = "m_iron.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
qb-core/server/player.lua
Search this: PlayerData.metadata['armor'] = PlayerData.metadata['armor'] or 0
After that put this:
PlayerData.metadata['oilfactoryxp'] = PlayerData.metadata['oilfactoryxp'] or 0
Last updated