49
edits
(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 | ||