ClearDebugBox: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
     function ()
     function ()
         clearDebugBox ()
         clearDebugBox ()
    end
    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