22.06.2009, 09:58
And it also isn't difficult.
Think this way:
- GetPlayerPos at OnPlayerDisconnect.
- Save into file with fwrite etc.
- Open file when the same player connect, OnPlayerConnect.
- Set the player on his original position by SetPlayerPos.
I will not give you a code, but I will help you by solving problems.
Think this way:
- GetPlayerPos at OnPlayerDisconnect.
- Save into file with fwrite etc.
- Open file when the same player connect, OnPlayerConnect.
- Set the player on his original position by SetPlayerPos.
I will not give you a code, but I will help you by solving problems.