how to saving last position after logout,crash,disconect
#5

BGTrucker has given you a lot of info, and you should be able to make it from that along with SetPlayerPos.

The SetPlayerPos section shouldn't be under OnPlayerConnect, but in another function (Same as BGTrucker did with the OnPlayerDisconnect statement), which runs after they've logged in (Because you are going to need file loading, and for that you'll need a login setup).

You will however need to use userfiles, and adding to this a login system. You'd probably find that some thread will detail how to do it, if you actually searched.

If you aren't capable of doing this, you need to learn some. People shouldn't need to write code for you, and if you need code written for you there is the "Looking for scripters" thread.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)