PDA

View Full Version : Paladin Help Seller Potion



EMCE
01-19-2014, 04:21 PM
Hi, I have a problem with the script so that the hunt is over does not sell Flasks potions only after buying.


Scripts :
function sellFlasks()
Walker.Stop()
Self.SayToNpc({"hi", "trade"}, 65)
wait(200, 500)
local FlaskID = 283
Self.ShopSellItem(flaskID, (Self.ItemCount(flaskID)))
Walker.Start()
end
--===========##[BUYERS]##===========--

function buyManas()
Walker.Stop()
Self.SayToNpc({"hi", "trade"}, 65)
wait(900, 1200)
Self.ShopBuyItemsUpTo(ManaID, ManaAmount)
Walker.Start()
end

Kush
01-20-2014, 12:16 PM
Self.SayToNpc({"hi", "flasks", "yes", "trade"}, 65)

EMCE
01-21-2014, 10:15 AM
function sellFlasks()
Walker.Stop()
Self.SayToNpc({"hi", "flasks", "yes", "trade"}, 65)
wait(200, 500)
local FlaskID = 283
Self.ShopSellItem(flaskID, (Self.ItemCount(flaskID)))
Walker.Start()
end

ok good ? lua ?

EMCE
01-22-2014, 10:42 AM
Does not work on what may be the cause?

Kush
01-22-2014, 02:13 PM
You can sell the flasks just talking flasks to the NPC.

EMCE
01-22-2014, 03:15 PM
ok fixed and running