- Documentation
- Client functions
- guiSetVisible
Function
guiSetVisible
Shows or hides a control together with its children.
Syntax
bool guiSetVisible(element guiElement, bool state)Arguments
guiElementelement- The control.
statebooltrueshows it.
Returns
true on success.
Example
local win = guiCreateWindow(100, 100, 300, 200, "Sklep", false)
guiSetVisible(win, false)