18.03.2012, 19:14
Well the thing that I did to my server is:
I made an one second timer that every second use the GetPlayerPos(saves in variables);
And when he logs off it will saves the variables to the player data so it will be always the coords of the last second where he was standing.
I'm not sure but I think that the GetPlayerPos doesn't realy work bugless in onplayerdisconnect.
I made an one second timer that every second use the GetPlayerPos(saves in variables);
And when he logs off it will saves the variables to the player data so it will be always the coords of the last second where he was standing.
I'm not sure but I think that the GetPlayerPos doesn't realy work bugless in onplayerdisconnect.