A good scripter should help me with this!!!
#1

I want in my server to save players' last position when they disconnect so the next time they log in they'll spawn to the same place.I'm looking for it for months.Please help me!!!!!!!!!
Reply
#2

Which saving system are you using?
Reply
#3

I'm not using
Reply
#4

http://forum.sa-mp.com/index.php?topic=4798.0 - Look at this, it includes saving position.
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)