Save Strings for Specific Player

  1. What do you want to achieve? I want to send messages to a (offline) player in-game and when the messaged player joins he/she can see the messages sent to them.

  2. What solutions have you tried so far? I looked around the forum but couldn’t find anyone with my problem.

Does anyone have an idea on how to take on this problem? Should I use datastores?

Datastores are the way to go, yes. If I were you I’d store a table with all the sent messages in order and load and render it everytime any player assigned to that chat joins.

1 Like

And how could I add new messages to the saved table?

The table datatype has a function named “insert”. Might want to look into that.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.