Thread: pls help [PI]

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
  1. #11  
    Registered Member
    Its paris's Avatar
    Join Date
    Apr 2009
    Posts
    1,141
    Thanks given
    56
    Thanks received
    234
    Rep Power
    689
    In the class of which an instance is returned by: "c.getItems()".
    Reply With Quote  
     

  2. #12  
    Registered Member Analed's Avatar
    Join Date
    Jan 2010
    Posts
    326
    Thanks given
    6
    Thanks received
    3
    Rep Power
    0
    Quote Originally Posted by TheChosenOne View Post
    In the class of which an instance is returned by: "c.getItems()".
    what does that mean my english is shit
    Reply With Quote  
     

  3. #13  
    Registered Member
    white full's Avatar
    Join Date
    Jul 2008
    Posts
    879
    Thanks given
    4
    Thanks received
    19
    Rep Power
    196
    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.
    Reply With Quote  
     

  4. #14  
    Registered Member Analed's Avatar
    Join Date
    Jan 2010
    Posts
    326
    Thanks given
    6
    Thanks received
    3
    Rep Power
    0
    Quote Originally Posted by white full View Post
    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.
    rofl idc on this gay rep power u little shit
    Reply With Quote  
     

  5. #15  
    Registered Member
    white full's Avatar
    Join Date
    Jul 2008
    Posts
    879
    Thanks given
    4
    Thanks received
    19
    Rep Power
    196
    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
    Reply With Quote  
     

  6. #16  
    Registered Member Analed's Avatar
    Join Date
    Jan 2010
    Posts
    326
    Thanks given
    6
    Thanks received
    3
    Rep Power
    0
    Quote Originally Posted by white full View Post
    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
    just gtfo my thread u dickface
    Reply With Quote  
     

  7. #17  
    Registered Member
    white full's Avatar
    Join Date
    Jul 2008
    Posts
    879
    Thanks given
    4
    Thanks received
    19
    Rep Power
    196
    looks at your avatar, either thats you or you like him.
    Reply With Quote  
     

  8. #18  
    Registered Member
    Its paris's Avatar
    Join Date
    Apr 2009
    Posts
    1,141
    Thanks given
    56
    Thanks received
    234
    Rep Power
    689
    Quote Originally Posted by owner erde View Post
    what does that mean my english is shit
    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:
    Code:
    public XXXXX getItems(){
         //Content
    }
    That method's return type (XXXXX in my example) is the class in which you should put your method.
    Reply With Quote  
     

  9. #19  
    Registered Member Analed's Avatar
    Join Date
    Jan 2010
    Posts
    326
    Thanks given
    6
    Thanks received
    3
    Rep Power
    0
    Quote Originally Posted by TheChosenOne View Post
    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:
    Code:
    public XXXXX getItems(){
         //Content
    }
    That method's return type (XXXXX in my example) is the class in which you should put your method.
    no1 understand what i want
    Reply With Quote  
     

  10. #20  
    Registered Member Analed's Avatar
    Join Date
    Jan 2010
    Posts
    326
    Thanks given
    6
    Thanks received
    3
    Rep Power
    0
    ill explain it now again:
    i need to put this code in ItemAssistant:

    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;
    	}
    The probleme is it need to be on a correct place. Only than the dupe will be fixed.

    This is from brady:
    No, if you put the second code in the correct spot... It will not create other dupes..
    Reply With Quote  
     

Page 2 of 3 FirstFirst 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •