ClearDebugBox

From Multi Theft Auto: Wiki
Revision as of 10:18, 18 August 2021 by Zver-CR (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function clears the debug box.

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