ClearDebugBox

From Multi Theft Auto: Wiki
Revision as of 17:28, 7 November 2024 by Fernando187 (talk | contribs) (Remove obsolete Requirements section)
(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

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