Chat (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
warning: never used this method, correct information if inaccurate
>Quenty
Added info. It's good to be back.
Line 9: Line 9:
{{clear floats}}
{{clear floats}}


{{Example|Creates a Dialog on the part with the message.
{{Example|Creates a Dialog on the part with the message. First previewed in Welcome to ROBLOX Building, this can be used in cases of custom dialog. 
<pre>
<pre>
game:GetService("Chat"):Chat(game.Workspace.Player.Head, "This is a chat!", Enum.ChatColor.Blue)
game:GetService("Chat"):Chat(game.Workspace.Player.Head, "This is a chat!", Enum.ChatColor.Blue)

Revision as of 01:57, 21 December 2011

Chat( BasePart part, String message, ChatColor ChatColor )
Returns nil
Description: Makes the part have a Dialog containing message in the ChatColor tone.
Member of: Chat


Example
Creates a Dialog on the part with the message. First previewed in Welcome to ROBLOX Building, this can be used in cases of custom dialog.
game:GetService("Chat"):Chat(game.Workspace.Player.Head, "This is a chat!", Enum.ChatColor.Blue)