SetMessage (Method)

From Legacy Roblox Wiki
Revision as of 03:48, 23 January 2012 by >JulienDethurens (I don't believe we need that, and it's a comment, anyways.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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