This item has been superseded by
Chat/FilterStringForBroadcast which should be used in all new work
This is a yielding function. When called, it will pause the Lua thread that called the function until a result is ready to be returned, without interrupting other scripts.
For thread safety, this property is not safe to read in an unsynchronized thread.
The FilterStringForPlayerAsync function filters a string appropriate to the given player’s age settings, so they see what is appropriate to them. This function will only work if called from a
Script on the server. If called on a client it will fail.
String being filtered
Player that the string is being filtered for
Filtered string result