Sets whether the player names should be colored by class for a given chat type
See also Chat functions.
Signature:
SetChatColorNameByClass("chatType",
colorByName)
Arguments:
chatType
- The chatType that is being set. This value of this is the same as the index of the globalChatTypeInfo
table. (string
)colorByName
- Whether or not names should be colored by class for the given chat type. (boolean
)
Examples:
-- Set All Channel with ColorNameByClass for i in pairs(ChatTypeInfo) do -- Enable All ColorNameByClass SetChatColorNameByClass(i,1) end