DPanel.GetDisabled
From GMod Wiki
| Function | |
| Syntax | DPanel:GetDisabled( ) |
| Description: | |
| Returns whether the DPanel is disabled or not. | |
| Returns: | Boolean |
| In Object: | DPanel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DPanel.GetDisabled]DPanel.GetDisabled [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Gets a TestingPanel's state. |
|---|---|
| Used on | |
| Code | //Gets the TestingPanel's state if TestingPanel:GetDisabled() then print("This TestingPanel is disabled!") end |
| Output | N/A |