Quote:
Originally Posted by Crow
I would like to have a way to change the own player.chat locally. Yea, I know, sounds awkward. Let me explain. Let's say the player enters "Hi there" into the chat bar and hits enter. Let's also assume that some dork added "there" to the clientside swear filter. Last, but not least, the player has this swear filter enabled (it's optional  ), but most of the other players don't. My goal: filter the word locally for the player, and show it to those who have the filter disabled.
Way too complicated explanation for such an easy thing. Well, you hopefully know what I mean anyway.
|
Well you could just use onRemotePlayerChat, which is clientside; All you have to do is have this function for those who want swear filters, and have it filter the remote player's chat. As it's clientside, it will only apply to the player who is running the swear filter, and not for all the players it is actually censoring.