WildStar:API SellItemToVendorById

From AddOn Studio
Revision as of 14:10, 10 July 2014 by WildStarWiki>Zeett (Added usage of SellItemByVendorId)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sells an item to a vendor.

SellItemToVendorById(itemId, number)

Examples

if(item:GetItemQuality() == 1) then
    SellItemToVendorById(item:GetInventoryId(), item:GetStackCount())
end