guiBringToFront | Multi Theft Auto: Wiki Skip to content

guiBringToFront

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function brings a GUI element on top of others.

Note

If property "AlwaysOnTop" sets to "True", this function will return false .

Syntax

guiBringToFront ( )

Code Examples

client

This example creates a gui window and brings it on top.

local window = guiCreateWindow ( 0.4, 0.4, 0.3, 0.3, "My dummy window", true )
guiBringToFront ( window )

See Also

GUI Functions