Server

Server sided exports

getAllStorages

local storages = exports.HRStorages:getAllStorages()

--[[ Result format:
{
    {
        stashId = 'storages_123423453456',
        owner = 'license:00000',
        owner_name = 'playerName',
        creation_date = 'dd/mm/yy | HH:MM',
        position = {
            x = 0.0,
            y = 0.0,
            z = 0.0,
            w = 0.0
        }
        loot = 'json encoded array with all the items stored in the storage'
    },
    ....
}
]]

Last updated