- Documentation
- Client functions
- guiGetEnabled
Function
guiGetEnabled
Checks whether a control responds to mouse and keyboard.
Syntax
bool guiGetEnabled(element guiElement)Arguments
guiElementelement- The control.
Returns
true if enabled.
Example
if guiGetEnabled(buyButton) then outputChatBox("Możesz kupić") end