Thread: help PI can anyone help me with this

Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1 help PI can anyone help me with this 
    Registered Member
    Join Date
    Feb 2012
    Posts
    253
    Thanks given
    1
    Thanks received
    10
    Rep Power
    25
    okay so i added this code for a spawn tab thing and once u click it it will take the amount that u set away
    but the problem is if u have max cash it will take all the cash away and give u the same amount of pots. how do you make it so you only pay 50k for 200 pots??

    Code:
    case 93101: //Saradomin Brews and Restores
    				if (c.inWild()) 
    				return;
    				if (c.getItems().playerHasItem(995, 50000)) {
                    				c.getItems().addItem(6686, 100);
    				c.getItems().addItem(3025, 100);
    				c.getItems().deleteItem(995, 50000);
    				} else {
    		c.sendMessage("You need 50,000 coins to get these items");
    		}
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2013
    Posts
    135
    Thanks given
    123
    Thanks received
    4
    Rep Power
    11
    That only happens with max cash?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Feb 2012
    Posts
    253
    Thanks given
    1
    Thanks received
    10
    Rep Power
    25
    no with anything amount higher then 50k
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Feb 2012
    Posts
    253
    Thanks given
    1
    Thanks received
    10
    Rep Power
    25
    bump
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2012
    Posts
    253
    Thanks given
    1
    Thanks received
    10
    Rep Power
    25
    bump
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Feb 2012
    Posts
    253
    Thanks given
    1
    Thanks received
    10
    Rep Power
    25
    bump
    Reply With Quote  
     

  7. #7  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,472
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Don't bump so often, one per 24 hours.

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Feb 2012
    Posts
    253
    Thanks given
    1
    Thanks received
    10
    Rep Power
    25
    can u help me there?
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Feb 2012
    Posts
    253
    Thanks given
    1
    Thanks received
    10
    Rep Power
    25
    bump
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Feb 2012
    Posts
    253
    Thanks given
    1
    Thanks received
    10
    Rep Power
    25
    bump need this really badly
    Reply With Quote  
     

Page 1 of 2 12 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
  •