I need lua withdraw items with depot.
:)
Printable View
I need lua withdraw items with depot.
:)
Self.WithdrawItems(slot, itemid)
I think you can add more itemid by adding a comma...
Please help i can't use it.
I have all items on " In Box " items id ; 3370 i need script withdraw on in box to me backpack.
Please make lua.
@krille09
The general code should look like this...
lua code:local bpTo = "Blue Backpack"
Self.WithdrawItems(0, {"boots of haste", bpTo, 100})
@krille09
Yes okey this script work but open Dp.
I need Inbox ( Mailbox )
@brindeds how use that script to for example withdraw spears arrows or bolts and make the char put them where them must be ? in the arrow slot or in hand thanks in advance
can you pozt pls?
no srry im poor thanks
You'd want to call a function that would check every container like this
Or use the Self.Equip function, but it only checks in the first container ( index 0 )Code:for i = 0, 15 do
if (Container.isOpen(i)) then
-- rest of code
end
end
Code:Self.Equip("spear", "weapon", -1)
@Jontor thanks alots but could u explain more how add those lines pelase?
im learning so i dont undertand in creating lines cause that isn't all the funcition to withdraw spears from dp or is it?
thanks in advance men :)