Player spawning on their last position before disconnecting
#1

I have a general idea on how this works... involving a getplayerpos saving to the players file in onplayerdisconnect, then when a player connects it gets the position from the file and uses it as the players spawn..

Is that how it works?
Reply
#2

That's the idea, When a player disconnects make their position save into a float, and when the player joins again, set their position OnPlayerSpawn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)