|
| 14 Sep 2015 04:50 PM |
Working on a custom chat gui, is FilterStringForPlayerAsync required? Like is it against the rules to not include it?
#code while true do end |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 14 Sep 2015 04:57 PM |
| it would make you look really bad and unprofessional if your game hit the front page. ROBLOX probably wouldn't appreciate it either. |
|
|
| Report Abuse |
|
|
|
| 14 Sep 2015 05:01 PM |
.
#code while true do the do |
|
|
| Report Abuse |
|
|
TwoRivers
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 2821 |
|
|
| 14 Sep 2015 05:03 PM |
no they dont care
-TwoRivers/Iterum/Vulnerite/ChiefDelta/Discommodate/100+ accounts |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 14 Sep 2015 05:12 PM |
it's really not that hard to use the method just filter the string before you send it to the server remoteEvent:FireServer(game:GetService("Chat"):FilterStringForPlayerAsync(localPlayer'sMessage)
and then send it back to all of the clients
remoteEvent.OnServerEvent:connect(function(plr, msg) print(plr.Name.." said: "..msg) remoteEvent:FireAllClients(plr, msg) end)
and then have each client display it
remoteEvent.OnClientEvent:connect(function(plr, msg) local label = Instance.new("TextLabel", yourFrame) label.Text = plr.Name.." said: "..newMsg and then position/size it properly end) |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 14 Sep 2015 05:14 PM |
remoteEvent:FireAllClients(msg) lol |
|
|
| Report Abuse |
|
|