Hi.
I have a problem with refilling spears from depot. My character do not refill missing spears. I do not know how can i repair it.
Here is a fragment of code.
Code:
---Paladin Options----
local AmmoID = 3277
local MaxAmmo = 10
local AmmoDP = 2
local AmmoLeave = 3
Code:
elseif (labelName == "GetAmmo") then
Container.GetByName("Locker"):OpenChildren({3502, true})
wait(500,600)
Container.GetByName("Locker"):Close()
wait(500,600)
Self.WithdrawItems(AmmoDP, {AmmoID, 1, MaxAmmo-Self.ItemCount(AmmoID)})
wait(200,400)
I have 200 spears in 3rd chest in depot.
Thanks in advance!
P.S. Sorry about my bad english 
@edit
I have a problem with depositor too.
Here is the code:
Code:
elseif (labelName == "DP") then
Walker.Stop()
wait(1600,2400)
Self.DepositItems({9692, 0}, {11485, 0}, {8031, 0}, {12600, 0}, {11473, 0}, {5894, 0}, {9689, 0})
wait(500,1500)
Self.DepositItems({11512, 1}, {11465, 1}, {10275, 1})
wait(500,1500)
Self.DepositItems({3277, 2})