Thread: Teleport Command

Results 1 to 4 of 4
  1. #1 Teleport Command 
    Registered Member
    Join Date
    Jun 2013
    Posts
    189
    Thanks given
    1
    Thanks received
    4
    Rep Power
    11
    How would i make a command that teleports you ? My commands are like
    case "highscores":
    c.getPA().sendFrame126(Config.HIGHSCORES_URL, 12000);
    return;

    case "checkdonation":
    if (System.currentTimeMillis() - c.lastDonate > 300000) {
    c.lastDonate = System.currentTimeMillis();
    DonationManager.createConnection();
    DonationManager.checkStatus(c);
    DonationManager.destroyConnection();
    } else {
    c.sendMessage("You can only do this once every 5 minutes.");
    }
    return;

    case "auth":
    if (System.currentTimeMillis() - c.lastVote > 300000) {
    c.lastVote = System.currentTimeMillis();
    String[] args = playerCommand.split(" ");
    String auth = args[1];
    VoteManager.createConnection();
    VoteManager.checkStatus(c, auth);
    VoteManager.destroyConnection();
    } else {
    c.sendMessage("You can only do this once every 5 minutes.");
    }
    return;
    Reply With Quote  
     

  2. #2  
    Shake n Bake

    Organic's Avatar
    Join Date
    Apr 2010
    Posts
    2,499
    Thanks given
    204
    Thanks received
    324
    Rep Power
    588
    Code:
    case "teleport":
    your teleport method, can be found in clickingbuttons
    return;

    Just live life at its fullest.

    LOL
    Reply With Quote  
     

  3. #3  
    H_E_N_T_A_I_H_E_A_V_E_N_
    Tatsumi's Avatar
    Join Date
    May 2013
    Posts
    1,779
    Thanks given
    537
    Thanks received
    269
    Rep Power
    337
    Code:
    			if (playerCommand.equals("teleport")) {
    					c.getPA().startTeleport(CoordsX, CoordsY, 0, "modern");	
    			}
    Attached image
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Dec 2011
    Age
    29
    Posts
    794
    Thanks given
    92
    Thanks received
    84
    Rep Power
    250
    Code:
    			case"tradezone":
    			c.getPA().startTeleport(absX, absY, Height, "mordern"); // change the coords to your teleport spot and the highlighted to your teleport method.
    			c.sendMessage("You teleport to the trade area.");
    			}
    			return;
    Quote Originally Posted by Slim Shady View Post
    Code:
    			if (playerCommand.equals("teleport")) {
    					c.getPA().startTeleport(CoordsX, CoordsY, 0, "modern");	
    			}
    Thats not his commands format.

    Reply With Quote  
     

  5. Thankful user:



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. Objects, Teleports, Commands Etc.
    By 5simple5 in forum Configuration
    Replies: 21
    Last Post: 05-31-2009, 09:17 PM
  2. Makin teleporting Commands
    By zapat1234 in forum Tutorials
    Replies: 3
    Last Post: 10-12-2008, 03:29 AM
  3. Teleport Commands
    By lord draken in forum Tutorials
    Replies: 3
    Last Post: 07-08-2008, 06:38 PM
  4. Teleporting Commands.
    By elkoi in forum Tutorials
    Replies: 5
    Last Post: 11-26-2007, 08:35 PM
  5. Teleport Commands explained
    By Frost in forum Tutorials
    Replies: 3
    Last Post: 08-11-2007, 06:46 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
  •