Thread: [PI] PLayerPkilling Commands [PI]

Results 1 to 6 of 6
  1. #1 [PI] PLayerPkilling Commands [PI] 
    Banned
    Join Date
    Jul 2011
    Posts
    692
    Thanks given
    169
    Thanks received
    43
    Rep Power
    0
    Hello, Does anyone know any commands for pking? like:

    :ots
    ::food
    ::rangepure
    ::magepure
    ::meleepure
    ::barrowpure
    ::zerker

    or any other commands?

    thanks.
    Reply With Quote  
     

  2. #2  
    Banned Hellobuddyhowareyou's Avatar
    Join Date
    Mar 2011
    Posts
    738
    Thanks given
    27
    Thanks received
    20
    Rep Power
    0
    just make em easy... ?
    Reply With Quote  
     

  3. #3  
    Donator


    Join Date
    Jun 2011
    Posts
    2,549
    Thanks given
    539
    Thanks received
    402
    Rep Power
    683
    Yeah, they're really not that hard, they just involve using addItem.
    Reply With Quote  
     

  4. #4  
    Registered Member Finalz Pk's Avatar
    Join Date
    Jul 2011
    Posts
    171
    Thanks given
    6
    Thanks received
    7
    Rep Power
    29
    Yea its easy. its basicly like this.

    Code:
    if (playerCommand.equalsIgnoreCase("rich")) {
    			c.getItems().addItem(995, 2000000000);
    			}
    change the 995 to the item id of your liking, and the 2000000000 is the amount.
    if you want to add more just copy this part.

    Code:
    c.getItems().addItem(995, 2000000000);
    and paste it under it. so it would look like this.

    Code:
    if (playerCommand.equalsIgnoreCase("rich")) {
    			c.getItems().addItem(995, 2000000000);
                            c.getItems().addItem(995, 2000000000);   
    			}
    Also, change the rich to like pots, rangepure, ect..

    Yep thats all.
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Oct 2010
    Posts
    716
    Thanks given
    82
    Thanks received
    131
    Rep Power
    0
    For shit like ::rangedpure.

    This gives him 99 range + mage.

    in commands.java;

    Code:
    if (playerCommand.equalsIgnoreCase("master")) {
    for (int i = 0; i >= 6 &&  i <= 7 ; i++) {
    c.playerLevel[i] = 99;
    c.getPA().refreshSkill(i);	
    c.getPA().requestUpdates();
    }
    }
    Wrote that on top of my head, not sure if it's right.
    Reply With Quote  
     

  6. #6  


    RS Wiki's Avatar
    Join Date
    Mar 2011
    Age
    29
    Posts
    9,688
    Thanks given
    1,752
    Thanks received
    3,103
    Rep Power
    5000
    Quote Originally Posted by Finalz Pk View Post
    Yea its easy. its basicly like this.

    Code:
    if (playerCommand.equalsIgnoreCase("rich")) {
    			c.getItems().addItem(995, 2000000000);
    			}
    change the 995 to the item id of your liking, and the 2000000000 is the amount.
    if you want to add more just copy this part.

    Code:
    c.getItems().addItem(995, 2000000000);
    and paste it under it. so it would look like this.

    Code:
    if (playerCommand.equalsIgnoreCase("rich")) {
    			c.getItems().addItem(995, 2000000000);
                            c.getItems().addItem(995, 2000000000);   
    			}
    Also, change the rich to like pots, rangepure, ect..
    this^
    it's simple as shit to do
    All the best,
    Wiki




    coming soon
    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. Replies: 2
    Last Post: 06-07-2011, 08:29 PM
  2. Replies: 9
    Last Post: 11-28-2009, 05:39 AM
  3. Replies: 19
    Last Post: 11-23-2008, 05:30 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •