Exports

List of every exports for axr_octastore to setup your server

Server Exports

openMenu

---@param identifier integer
exports['axr_octastore']:openMenu(identifer);

getAccountData

---@param identifier integer
---@return table?nil
local accountData = exports['axr_octastore']:getAccountData(identifer);

getPlayerPlan

---@param identifier integer
---@return integer
local plan = exports['axr_octastore']:getPlayerPlan(identifer);

getPlayerPlanName

---@param identifier integer
---@return string
local playerName = exports['axr_octastore']:getPlayerPlanName(identifer);

getUsernameByIdentifier

---@param identifier integer
---@return string
local username = exports['axr_octastore']:getUsernameByIdentifier(identifer);

getPlayerPosts

---@param identifier integer
---@return table
local playerPosts = exports['axr_octastore']:getPlayerPost(identifer);

updateUserAccount

---@param identifier integer
---@param key string
---@param value any
---@param updateDB boolean
exports['axr_octastore']:updateUserAccount(identifer, key, value, updateDB);

getAccountStats

---@param identifier integer
---@return table : {sales : integer, plan : integer, current_posts: integer}
local accountStats = exports['axr_octastore']:getAccountStats(identifer);

hasPlayerLockerProduct

---@param identifier integer
---@param locker_id string
---@return boolean
local hasLocker = exports['axr_octastore']:hasPlayerLockerProduct(identifer, locker_id);

getPlayerLockerProducts

---@param identifier integer
---@param locker_id string
---@return table
local LockerProducts = exports['axr_octastore']:getPlayerLockerProducts(identifer, locker_id);

createLockerParcel

---@param identifier integer
---@param locker_id string
---@param items table
---@return boolean
local created = exports['axr_octastore']:createLockerParcel(identifer, locker_id, items);

getLockerCoordsById

---@param locker_id string
---@return table
local coords = exports['axr_octastore']:getLockerCoordsById(locker_id);

getChatExistBetweenIdentifiers

---@param identifier1 integer
---@param identifier2 integer
---@return string
local chatId = exports['axr_octastore']:getChatExistBetweenIdentifiers(identifier1, identifier2);

Client Exports

notify

---@param message string
---@param icon string?nil
exports['axr_octastore']:notify(message, icon);

forceDestroyMenu

---@param reason string?nil
exports['axr_octastore']:forceDestroyMenu(reason);

Last updated