I have some code that saves a var set on the player to a .txt file every time that player disconnects, and reloads it each time they reconnect.
- However, when clients crash, is PlayerDisconnected still called?
- What about when the server crashes, is there a function called then so I can save the var then too? (GM:ShutDown() maybe?)
- Would saving the var for everyone on the server their each individual text file lag anything/anyone out?
Hopefully I was clear on what I’m trying to get at here, thanks for reading.