GuiShow: Difference between revisions
Jump to navigation
Jump to search
Automatyczna aktualizacja dokumentacji funkcji |
Complete Lua function catalog |
||
| Line 28: | Line 28: | ||
* Available only in client-side resource scripts. | * Available only in client-side resource scripts. | ||
[[Category:Lua Functions]] | |||
[[Category:Client Functions]] | [[Category:Client Functions]] | ||
[[Category:GUI Functions]] | [[Category:GUI Functions]] | ||
Latest revision as of 09:54, 15 August 2026
guiShow
Shows a loaded RML document.
Syntax
bool guiShow(DocumentHandle document)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
document |
DocumentHandle |
yes | The document to show. |
Returns
Returns true when the document is shown; otherwise returns false.
Examples
Show a previously loaded menu:
local menu = guiLoadDocument("ui/menu.rml")
guiShow(menu)
Notes
- Available only in client-side resource scripts.