06.09.2017, 11:25
Get a saving system and save the coordinates of the player when it disconnects. And when the player rejoins then load the position from the file and set the position.
Some frequently used saving systems are:
1. MySQL
2. SQLite
3. Y_INI
4. DINI
etc.
Some frequently used saving systems are:
1. MySQL
2. SQLite
3. Y_INI
4. DINI
etc.