Christian Peres
06-23-2016, 06:18 PM
Im trying to make a script to sell items, I did this, no idea what hell is wrong :/
function onWalkerSelectLabel(labelName)
if (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
end
end
function onWalkerSelectLabel(labelName)
if (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
end
end