SetMessage (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator fixed the example |
>Blocco No edit summary |
||
Line 6: | Line 6: | ||
|object = DataModel | |object = DataModel | ||
}}</onlyinclude> | }}</onlyinclude> | ||
{{clear floats}}{{Example| | |||
{{Example| | |||
If you're using the [[Command Bar]] or a [[CoreScript]]... | If you're using the [[Command Bar]] or a [[CoreScript]]... | ||
<pre> | <pre> |
Revision as of 22:31, 6 January 2011
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
SetMessage( string message text ) | |
Returns | nil |
Description: | Creates a GUI message similar to ones seen when loading a game. |
Member of: | DataModel |
Example
If you're using the Command Bar or a CoreScript...
game:SetMessage( "Hello World" ) -- Will result in the image below
If you're using a Script or a LocalScript...
game:SetMessage( "Hello World" ) --> s SetMessage