|
| 23 Dec 2016 09:05 PM |
| I don't have bc, and I want to shut down the game that I currently have up, to temporarily launch another one. I need to know if saved data will be lost, or if people who have game passes, will lose ownership of those game passes. I don't want to mess up peoples data, please help. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 24 Dec 2016 08:27 AM |
For gamepasses, no.
For datasaving, depends.
If you save data when the player leaves (no autosave) then it's very likely that they'll lose data. You can use the BindToClose method to save when the server is shutting down (it can yield i believe)
something like this:
game:BindToClose(function() --save all player data wait(5) end)
This siggy is copyrighted © |
|
|
| Report Abuse |
|
|