exports

Set Player info from other resources

exports.lvs_inventory:setInfo('house', '742 Evergreen Terrace')
exports.lvs_inventory:setInfo('phone', '+54123456789')
exports.lvs_inventory:setInfo('vehicle', 'LVS1234')
-- or --
exports.lvs_inventory:setInfo({
    house = '742 Evergreen Terrace',
    phone = '+54123456789',
    vehicle = 'LVS1234'
})


-- You can also set the name (character name) and cid (Citizen ID). 
-- These are set when the character is loaded, but they can be updated any time.
exports.lvs_inventory:setInfo({
    name = 'Hans Landa',
    cid = 'SS123456789',
})

Get special slot

-- If a player is wearing a backpack, it returns the slot of it; otherwise, it's null. 
-- The data structure is the slot from ox_inventory

local backpack = exports.lvs_inventory:getSpecialSlot('backpack')

Last updated