PDA

View Full Version : Item Seller



nurlan
12-30-2015, 08:50 PM
elseif (labelName == "ItemSeller") then
setWalkerEnabled(false)
if (sellitems==true) then
Self.SayToNpc({"Hi", "Trade"}, 40, 10)
wait(1000)
Self.ShopSellAllItems(14082)
wait(1000)
Self.ShopSellAllItems(14077)
wait(1000)
Self.ShopSellAllItems(14080)
wait(1000)
Self.ShopSellAllItems(14079)
wait(1000)
Self.ShopSellAllItems(14081)
wait(1000)
Self.ShopSellAllItems(14078)
wait(1000)
Self.ShopSellAllItems(14083)
wait(1000)
Self.ShopSellAllItems(14089)
wait(1000)
Self.ShopSellAllItems(14086)
wait(1000)
Self.ShopSellAllItems(14246)
wait(1000)
Self.ShopSellAllItems(14087)
wait(1000)
Self.ShopSellAllItems(14088)
wait(1000)
end
setWalkerEnabled(true)
why its not selling all items? its not selling legs, cape,shield and so on to npc at hive... OT SERVER!

grave18
12-30-2015, 10:44 PM
local SellList = ({"small sapphire", 9057, 16122, 16123, 16124})
local sellitems = true -- or false

elseif (labelName == "TalkItems") then
if (sellitems == true) then -- or if (sellitems) then -- this is the same
Self.SayToNpc({"hi", "trade"})
for i = 0, #SellList do
Self.ShopSellAllItems(SellList[i])
wait(600)
end
end

browarekk
03-02-2016, 12:54 AM
that's a great one :)