Resume where you left?
#1

Hey i was just wondering how do we make it so that when we leave and log back in our player is at the same location?
Reply
#2

Save the player's position into files, then load them when the player spawns.

I recommend using y_ini for this. It's very simple to make.
Reply
#3

If you have Player Info Saving system in your server then you can simply save Player Pos on player disconnect and after that onplayerspawn you can set his pos back.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)