ClearDebugBox: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Remove obsolete Requirements section)
 
Line 22: Line 22:
</syntaxhighlight>
</syntaxhighlight>
</section>
</section>
==Requirements==
{{Requirements|n/a|1.5.8-9.20854|}}


==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 [-]
Client

This example clears the debug window when any new debug message is displayed:

addEventHandler ("onClientDebugMessage", root,
    function ()
         clearDebugBox ()
    end
)

See Also