l6bustank
2012-12-29 14:40:14
I am using the procedure Deposit
I want it to deposit all of a certain item but keep other items i need in my inv. The code im using looks like this:
As I understand, it should deposit all and not one-by one. But one-by-one is exactly what it does. Same happens if I use an integer in the last parameter.
whats wrong?
Procedure Deposit(SlotFrom, SlotTo: Integer; vType: Variant);
Deposits from Slot to ToSlot.
vType True = Deposit All. vType False = Deposit one by one.
Any integer is deposit with Deposit X. (except for 5 and 10)I want it to deposit all of a certain item but keep other items i need in my inv. The code im using looks like this:
if (BankScreen) then
begin
Deposit(3, 27, True);
Wait(RandomRange(100, 150));
Withdraw(0, 0, 28);
Wait(RandomRange(100, 150));
CloseBank; As I understand, it should deposit all and not one-by one. But one-by-one is exactly what it does. Same happens if I use an integer in the last parameter.
whats wrong?