generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Is FilterStringForPlayerAsync required for custom chat guis?

Previous Thread :: Next Thread 
HowardDeck223 is not online. HowardDeck223
Joined: 18 Aug 2014
Total Posts: 35
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 is not online. 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
Reprediction is not online. Reprediction
Joined: 30 Sep 2012
Total Posts: 111
14 Sep 2015 05:01 PM
.


#code while true do the do
Report Abuse
TwoRivers is not online. 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 is not online. 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 is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
14 Sep 2015 05:14 PM
remoteEvent:FireAllClients(msg)
lol
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image