Thread: commands

Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1 commands 
    Registered Member
    Join Date
    Jul 2012
    Posts
    127
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11
    [pi]

    so ive tried looking over the net and i cant find anything.
    but when i do ::home in level 20+ wildy, in a duel and in jail i tele home
    could someone maybe help me here?
    thank you
    Reply With Quote  
     

  2. #2  
    Spread Love

    Dhruv's Avatar
    Join Date
    Feb 2012
    Age
    28
    Posts
    1,011
    Thanks given
    157
    Thanks received
    167
    Rep Power
    215
    Try adding something like this too it:

    Code:
    if(c.inWild() && c.wildLevel > Config.NO_TELEPORT_WILD_LEVEL && !c.inFunPk()) {
                c.sendMessage("You can't teleport above level "+Config.NO_TELEPORT_WILD_LEVEL+" in the wilderness.");
                return;
                    }
    Reply With Quote  
     

  3. #3  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    post your command. maybe you're commands using the movePlayer method instead of the startTeleport method
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jul 2012
    Posts
    127
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11
    I changed my home command back to normal.

    So it's just the basic command.

    If you could just add the part to stop me teleporting above 20 Wildy in duels and in jail.
    It would be very much appreciated
    Reply With Quote  
     

  5. #5  
    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 u loose View Post
    I changed my home command back to normal.

    So it's just the basic command.

    If you could just add the part to stop me teleporting above 20 Wildy in duels and in jail.
    It would be very much appreciated

    Like I said before, post your command just to double check
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jul 2012
    Posts
    127
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Karma_K View Post
    Like I said before, post your command just to double check
    if(playerCommand.equalsIgnoreCase("home") && c.playerRights >= 0) {
    c.getPA().movePlayer(3087,3497,0);
    }
    Reply With Quote  
     

  7. #7  
    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 u loose View Post
    if(playerCommand.equalsIgnoreCase("home") && c.playerRights >= 0) {
    c.getPA().movePlayer(3087,3497,0);
    }
    i was right then... just use the startTeleport method for the command instead of movePlayer or you can add the check the other guy posted to the movePlayer method..
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jun 2012
    Posts
    223
    Thanks given
    61
    Thanks received
    17
    Rep Power
    25
    Change
    Code:
    if(playerCommand.equalsIgnoreCase("home") && c.playerRights >= 0) { 
    c.getPA().movePlayer(3087,3497,0);
    }
    to

    Code:
    if(playerCommand.equalsIgnoreCase("home") && c.playerRights >= 0) { 
    c.getPA().startTeleport(3087,3497,0);
    }
    Reply With Quote  
     

  9. #9  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    fix your teleporting method lol

    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  
     

  10. #10  
    Registered Member
    Join Date
    Jul 2012
    Posts
    127
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11


    how would i go about making a startTeleport in playerassist
    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

Similar Threads

  1. [458] Command List.
    By Impulser in forum RS2 Client
    Replies: 44
    Last Post: 06-11-2008, 08:17 PM
  2. ::pnpc command!
    By Pancakebuddy in forum Tutorials
    Replies: 7
    Last Post: 05-22-2007, 05:07 AM
  3. Loading Commands From Text File
    By ThatOneServer in forum Tutorials
    Replies: 2
    Last Post: 05-05-2007, 12:36 PM
  4. Tokenized Commands
    By ThatOneServer in forum Tutorials
    Replies: 1
    Last Post: 05-03-2007, 11:18 AM
  5. Console Commands
    By ZeroFreeze in forum Tutorials
    Replies: 7
    Last Post: 04-30-2007, 12:53 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
  •