Return to previous pos?
#1

Hey guys im working on some stuff where you can type a command and it'll teleport you to some place.
When youre done doing your thing at that place you type another command to get to your previous position..

How can I do this? (Fat letters)
Reply
#2

Get the player position into these variables before teleporting him:
pawn Код:
new LastX[MAX_PLAYERS], LastY[MAX_PLAYERS], LastZ[MAX_PLAYERS];
Make a /back command that will set his coordinates to the above.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)