Ryuto Posted February 6, 2023 Posted February 6, 2023 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?
mafioz Posted February 6, 2023 Posted February 6, 2023 (edited) . Edited February 6, 2023 by shishani
Scripting Moderators xLive Posted February 6, 2023 Scripting Moderators Posted February 6, 2023 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now