Slasheree Posted October 21, 2012 Author Share Posted October 21, 2012 Which function/sub can one use to put an item in a players bank ? like GiveBankItem(,) Link to comment Share on other sites More sharing options...
Unknown_raven Posted October 21, 2012 Share Posted October 21, 2012 On Server it is in modPlayer using two commands```Sub SetPlayerBankItemNum(ByVal index As Long, ByVal BankSlot As Long, ByVal itemnum As Long) Bank(index).Item(BankSlot).Num = itemnumEnd Sub```and then```Sub SetPlayerBankItemValue(ByVal index As Long, ByVal BankSlot As Long, ByVal ItemValue As Long) Bank(index).Item(BankSlot).Value = ItemValueEnd Sub```If your talking about doing it from within game I do not believe the command exists right now for that. You would need to use an account editor that can manipulate the bank variables. Link to comment Share on other sites More sharing options...
Slasheree Posted October 21, 2012 Author Share Posted October 21, 2012 I already tried those 2, but when I opened the bank it didn't have anything (at least visually) and when I clicked what I thought it would be the next items position in bank it gave me RTE 9 I think Link to comment Share on other sites More sharing options...
Unknown_raven Posted October 21, 2012 Share Posted October 21, 2012 How did you run the commands and what source are you even using? There is a great lack of details for me to sufficiently help you. Link to comment Share on other sites More sharing options...
Slasheree Posted October 21, 2012 Author Share Posted October 21, 2012 nvm… it's really some error, nothing to do with the functions you gave me, maybe I corrupted the bank somehow. Don't worry, got the items working like I wanted, thx Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now