Er i did this a while back and i cant remember how.
Ill try and find it and edit this.
|
|
is there a way to add the bank command but only able to deposit the items and not able to take them out? basically its the bank deposit box object effect but in a command

Er i did this a while back and i cant remember how.
Ill try and find it and edit this.
ok thanks mtsmts
I dont know what your withdraw method is, but maybe do like
This is just a example, all should work except withDraw, i dont know what the method is named in your source... but anyways, that should workCode:if (command.equalsIgnoreCase("deposit")) && playerRights >= 3 { openUpBank(); withDraw = false; sendMessage("Deposit some goods"); }![]()

Only your pro man![]()
Well this should work depending on your deposit void.
And if that dont work search for:Code:if (command.startsWith("deposit")) { openUpDepBox(); }
And above that you should see something like:Code:sendFrame248(4465, 197); resetItems(7423); IsBanking = true;
But where openUpDepBox is you should see your own and if its different just changeCode:public void openUpDepBox()
to yoursCode:openUpDepBox()![]()
Yeah i guess that program is more reliable.

Wow i couldnt find it, but i tested this on a old source i had and it worked
Offtopic...Only you still got me added on msn?![]()
@off-topic, whats your email again ?i forget emails so quickly, peoples adding me for help all the time...
And did you try what i said, include the withdraw or deposit method in the command ?
| « 508 Help please | wep poison » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |