Categories > Coding > Lua >
get localplayers previous position..
Posted
after teleporting a player to a location, i want to teleport him back to his previous location but i cant figure out how to do it?
Replied
I'm not a Lua scripter, but here's my idea on what you can do:
1. Before teleporting, save the player's current location
2. Teleport player to the specified location
3. If player clicks "Go Back", teleport him to the saved location
Cancel
Post
Random quote here...
Replied
nvm i figured it out
Cancel
Post
Replied
Cancel
Post
Did I mention I use arch btw?
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post