ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. guiGetEnabled

Function

guiGetEnabled

ClientInterface (GUI)Identical to MTA:SA

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