WildStar:API SellItemToVendorById: Difference between revisions
Jump to navigation
Jump to search
(Added usage of SellItemByVendorId) |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{\|uiapi}} | |||
Sells an item to a vendor. | Sells an item to a vendor. | ||
SellItemToVendorById(itemId, number) | SellItemToVendorById(itemId, number) | ||
== Examples == | == Examples == | ||
if | if item:GetItemQuality() == 1 then | ||
SellItemToVendorById(item:GetInventoryId(), item:GetStackCount()) | SellItemToVendorById(item:GetInventoryId(), item:GetStackCount()) | ||
end | end | ||
Latest revision as of 07:29, 9 August 2023
← UI API < SellItemToVendorById
Sells an item to a vendor.
SellItemToVendorById(itemId, number)
Examples
if item:GetItemQuality() == 1 then
SellItemToVendorById(item:GetInventoryId(), item:GetStackCount())
end