ClearDebugBox: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0159|1.5.8|20854|This function clears the debug box.}} ==Syntax== <syntaxhighlight lang="lua"> bool clearDebugBox ( ) </syn...") |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | {{Client function}} | ||
{{ | {{Added feature/item|3.0159|1.5.9|1.5.8|20854|This function clears the debug box.}} | ||
==Syntax== | ==Syntax== | ||
Line 12: | Line 12: | ||
==Example== | ==Example== | ||
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"> | ||
addEventHandler ( "onClientDebugMessage", root, | addEventHandler ("onClientDebugMessage", root, | ||
function () | |||
clearDebugBox () | |||
end | |||
) | ) | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 16:41, 20 September 2021
20854
Syntax
bool clearDebugBox ( )
Returns
Always returns true.
Example
This example clears the debug window when any new debug message is displayed:
addEventHandler ("onClientDebugMessage", root, function () clearDebugBox () end )
Requirements
This template will be deleted.
See Also
- clearDebugBox
- isChatInputBlocked
- isChatVisible
- Shared
- clearChatBox
- outputChatBox
- outputConsole
- outputDebugString
- showChat