Opens an ox_inventory shop type in the store screen and returns true when it opened. Falls back to ox_inventory's window for shop types not in Config.Shops.
Takes(shopType)
true when Config.Shops lists the shop type. Used by the patch.
Opens a store paid from a business account. def: label, icon, coords, account, balance, items = { { name, price, label?, description?, image? } }, handler = { resource, export }. Your export is called as (src, lines) and returns { bought, spent, error, balance }.
OpenCustom(src, def)
Opens a store your resource runs. def: label, icon, coords, items = { { name, price, count?, was?, tag? } }, hideSoldOut, discountLabel, handler. Your export is called as (src, lines, payment) and returns { bought, spent, error, items }.
SetCardTags(src, shopType, tags?, limits?)
Card tags and limit badges for one player and one shop type. shopType = nil clears them. Cleared when the player drops.
Open(src, shopType, shopId?)
Opens the screen after ox_inventory ran its own checks. Called by the patch, at most twice a second per player.