What is the code to TP player to other player?

Discussion in 'Plugin Development' started by oran10majar, Nov 8, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    oran10majar

    Hello, What is the code to TP player to other player? How I know the X Y Z to TP?
     
  2. Offline

    drtshock

  3. Offline

    oran10majar

    Not have been
     
  4. Offline

    JPG2000

    oran10majar Generally, here's how:

    player_variable.teleport(location);

    So, you could do something like:
    player.teleport (target.getLocation ());

    of course you need a player variable.
     
Thread Status:
Not open for further replies.

Share This Page