Reconnecting where you last disconnected HELP
#1

Hello, I was wondering how to make a piece of script that remembers where you where when you left the game,
So when you re-connect you start where you left off. I know this is possible but I'm new to scripting and need help thanks.
Reply
#2

You need to save the player's location to something/somewhere when the player disconnects from the server. Once they reconnect, load the saved information and then set their position.

Check out y_ini or any SQL system for such a saving/loading system.
Reply
#3

Thanks but it think you missed the "new to scripting" part :P Could you make it for me ?
Reply
#4

Maybe try https://sampforum.blast.hk/showthread.php?tid=299791
Reply
#5

You're new to scripting, but not totally incompetent of learning how to do things, right?

Check out the Scripting Tutorials section, there are HUNDREDS of tutorials about doing this type of thing.

Remember, we learn by doing!
Reply
#6

That looks about right but I am running lux admin and that has the necessary positions information so, if some one can help me make use of this it would save some time.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)