View Full Version : Withdraw Dp
Axolek
12-21-2015, 02:23 PM
I need lua withdraw items with depot.
:)
krille09
12-21-2015, 02:32 PM
Self.WithdrawItems(slot, itemid)
I think you can add more itemid by adding a comma...
Axolek
01-03-2016, 06:02 AM
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
krille09
01-03-2016, 04:33 PM
The general code should look like this...
local bpTo = "Blue Backpack"
Self.WithdrawItems(0, {"boots of haste", bpTo, 100})
Axolek
01-05-2016, 02:57 AM
krille09
Yes okey this script work but open Dp.
I need Inbox ( Mailbox )
brindeds
01-05-2016, 11:04 AM
krille09
Yes okey this script work but open Dp.
I need Inbox ( Mailbox )
Following the idea.
local bpTo = "Blue Backpack"
Container.GetByName("Locker"):OpenChildren({"Mailbox", true})
Self.WithdrawItems("Mailbox", {3370, bpTo, 100})
felipe93
05-13-2016, 04:43 AM
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
wuuuduu
05-13-2016, 06:25 AM
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
I got scropt.
felipe93
05-13-2016, 07:10 AM
can you pozt pls?
wuuuduu
05-13-2016, 12:48 PM
can you pozt pls?
If u pay 2$ :SSS
felipe93
05-13-2016, 12:54 PM
no srry im poor thanks
Jontor
05-13-2016, 06:33 PM
no srry im poor thanks
You'd want to call a function that would check every container like this
for i = 0, 15 do
if (Container.isOpen(i)) then
-- rest of code
end
end
Or use the Self.Equip function, but it only checks in the first container ( index 0 )
Self.Equip("spear", "weapon", -1)
felipe93
05-13-2016, 08:37 PM
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 :)
Jontor
05-13-2016, 09:31 PM
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 :)
krille09 / brindeds already explained it on the first page.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.