Jump to content

[HELP] Switch positions with another player


Ryuto

Recommended Posts

Posted

Hello, I am trying to change my position with that of another player with a bind when selecting it.

I am looking for something similar to this

 

it happens in the second 00:22 of the video

 

What functions could I use to recreate it?

  • Scripting Moderators
Posted

bindKey will bind the player's key to a function. When executed, the function will get the target player (assuming you already have a way to get the target), then use getElementPosition to retrieve the coordinates of both players, then use setElementPosition to switch them.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...