|
In the class of which an instance is returned by: "c.getItems()".
Yo cant declare a method inside another method so there usually cant be a correct spot you tool. Look at your rep power, 0 your a useless piece of shit to this community, give up on private servers, if you cant fix dupes on your own you suck.
it means you help people and know what your doing, you dont faggot, and Im laughing cause you can't fix duping, go ahead flame me but your still not getting anywhere
looks at your avatar, either thats you or you like him.
First you go to Client or ClientHandler (whatever class the "c" is an instance of). There you look for the method "getItems()".
It should look something like this:
That method's return type (XXXXX in my example) is the class in which you should put your method.Code:public XXXXX getItems(){ //Content }
ill explain it now again:
i need to put this code in ItemAssistant:
The probleme is it need to be on a correct place. Only than the dupe will be fixed.Code:public int getBankAmount(int item) { int count = 0; for (int j = 0; j < c.bankItems.length; j++) { if (c.bankItems[j] == item + 1) { count += c.bankItemsN[j]; } } return count; }
This is from brady:
No, if you put the second code in the correct spot... It will not create other dupes..
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |