Jump to content
  • 0

Tvt Teleport


zilbe333

Question

8 answers to this question

Recommended Posts

  • 0

Just open the navicat, go to database/Tvt open it and there you can make your change.

Nop he want to use last location from players where they was before tvt and then tele them again there..

Link to comment
Share on other sites

  • 0

Simply save player position before teleport, ez. It's one code line.

 

On aCis

player.getSavedLocation().set(player.getX(), player.getY(), player.getZ());

And then you get the coords with

Location loc = player.getSavedLocation();

and teleport

player.teleToLocation(loc.getX(), loc.getY(), loc.getZ(), 0);
Edited by SweeTs
Link to comment
Share on other sites

  • 0

If im not wrong olympiad works like this

Yes, I already were browsing through olly file, similar to the goal, only they're stating player one and player two. I could use a quick look on how it is done for All/everyone at once..

tnx for reply.

Link to comment
Share on other sites

  • 0

 

Simply save player position before teleport, ez. It's one code line.

 

On aCis

player.getSavedLocation().set(player.getX(), player.getY(), player.getZ());

And then you get the coords with

Location loc = player.getSavedLocation();

and teleport

player.teleToLocation(loc.getX(), loc.getY(), loc.getZ(), 0);

Tnx for reply, I will give it a go.

Link to comment
Share on other sites

  • 0

Yes, I already were browsing through olly file, similar to the goal, only they're stating player one and player two. I could use a quick look on how it is done for All/everyone at once..

tnx for reply.

The same way, but you simply have to for loop all the participants to do it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...