Qin2007
(Qin2007)
October 2, 2021, 12:41pm
#1
You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
i want to know the possibilities of SetExtraData()
What is the issue? Include screenshots / videos if possible!
i dont know them
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
this does not give the info i need
what are the SetExtraData() possibilities?
i only know SetExtraData(“Tags”)
2 Likes
Isluo
(Ranni)
October 2, 2021, 6:00pm
#3
it can change the colors and font and size of what the chat is (or add like bold and italics)
This is done through the Lua Chat API on the server.
Require ChatService, which is a ModuleScript found under ServerScriptService.ChatServiceRunner;
This returns an object with a particular method you’ll need, which is GetSpeaker, and it takes as its argument the username of the person whose tags/name color you want to change;
Calling ChatService:GetSpeaker("sircfenner") will return a ChatSpeaker object, which has another method you’ll need, namely SetExtraData (wiki );
This function takes
– k…
other than that, there isn’t really much else
There are also other possibillities with SetExtraData() for chat service. Let me list them below: {
SetExtraData(“TagColor”,Color3.new() argument)
SetExtraData(“NameColor”,Color3.new() argument)
SetExtraData(“Font”,Enum.Font argument)
}