Callbacks

HRLib Callbacks that provide several

getAllStorages

returns an array with all the created storages in the server

local storages = HRLib.Callback('HRStorages:getAllStorages') -- Server Side
local storages = HRLib.ServerCallback('HRStorages:getAllStorage') -- Client Side

--[[ Result format:
{
    {
        stashId = 'storages_0123534234',
        owner = 'license:0000',
        owner_name = 'James',
        creation_date = '05/05/2005 | 13:25',
        position = {
            x = 0.0,
            y = 0.0,
            z = 0.0,
            w = 0.0
        },
        loot = 'json encoded array of all the items stored in the storage'
    }
}
]]

Last updated