Thread: deleteItem

Results 1 to 4 of 4
  1. #1 deleteItem 
    Registered Member
    Join Date
    Jul 2010
    Posts
    129
    Thanks given
    1
    Thanks received
    2
    Rep Power
    0
    I'm trying to do this
    Code:
    c.getItems().deleteItem(995, 2000000000);
    But instead of just deleting 2B, it removes all of your cash.

    How do I fix?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by danhadwings View Post
    I'm trying to do this
    Code:
    c.getItems().deleteItem(995, 2000000000);
    But instead of just deleting 2B, it removes all of your cash.

    How do I fix?
    There's a snippet for this. Google "better deleteItem method rune-server" although ive already done this without the use of the snippet, I forgot what it was
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Dec 2011
    Posts
    967
    Thanks given
    234
    Thanks received
    208
    Rep Power
    0
    You probably already have a method deleteItem2(id, amount)
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jul 2010
    Posts
    129
    Thanks given
    1
    Thanks received
    2
    Rep Power
    0
    Fixed now, in the amount I had to grab the player slot.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Completely stop deleteItem dupes?
    By The Situationist in forum Help
    Replies: 5
    Last Post: 07-23-2011, 05:48 AM
  2. [PI] deleteitem error
    By Syndicate in forum Help
    Replies: 0
    Last Post: 05-08-2011, 11:00 AM
  3. deleteItem from Bank Method, Help please
    By jakehop22 in forum Help
    Replies: 2
    Last Post: 07-27-2010, 10:54 PM
  4. [508] GiveItem & DeleteItem Command
    By shayde in forum Snippets
    Replies: 2
    Last Post: 07-26-2010, 11:24 AM
  5. Replies: 3
    Last Post: 07-07-2009, 08:49 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •