ClearDebugBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Fernando187 (talk | contribs) (Remove obsolete Requirements section) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | {{Client function}} | ||
{{Added feature/item | {{Added feature/item|1.5.9|1.5.8|20854|This function clears the debug box.}} | ||
==Syntax== | ==Syntax== | ||
Line 12: | Line 12: | ||
==Example== | ==Example== | ||
<section name="Client" class="client" show="true"> | |||
This example clears the debug window when any new debug message is displayed: | This example clears the debug window when any new debug message is displayed: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Line 17: | Line 18: | ||
function () | function () | ||
clearDebugBox () | clearDebugBox () | ||
end | |||
) | ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</section> | |||
==See Also== | ==See Also== | ||
{{Client_output_functions}} | {{Client_output_functions}} |
Latest revision as of 17:28, 7 November 2024
This function clears the debug box.
Syntax
bool clearDebugBox ( )
Returns
Always returns true.
Example
Click to collapse [-]
ClientThis example clears the debug window when any new debug message is displayed:
addEventHandler ("onClientDebugMessage", root, function () clearDebugBox () end )
See Also
- clearDebugBox
- isChatInputBlocked
- isChatVisible
- Shared
- clearChatBox
- outputChatBox
- outputConsole
- outputDebugString
- showChat