I was wondering how I'd be able to save my backpack/startergear in DataStore. I've been wondering how to do this in a while but I'm not sure if you can do this.
Can anyone explain this to me? Thanks
I was wondering how I'd be able to save my backpack/startergear in DataStore. I've been wondering how to do this in a while but I'm not sure if you can do this.
Can anyone explain this to me? Thanks
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
You would, i beleive, use SaveInstance(http://wiki.roblox.com/index.php?title=API:Class/Player/SaveInstance) and LoadInstance(http://wiki.roblox.com/index.php?title=API:Class/Player/LoadInstance)
Can you give me an example of how to do that?
SaveInstance and LoadInstance are methods of the Data Persistence API which is deprecated, and not DataStore. The best way to store an inventory would be to list the names of all of the items and add them back by name.