clearDebugBox | Multi Theft Auto: Wiki Skip to content

clearDebugBox

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function clears the debug box.

Syntax

bool clearDebugBox ( )

Returns

  • bool: value

Always returns true .

Code Examples

shared

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

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