ClearDebugBox

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

* FEATURE ADDED IN 1.5.9 (BETA: 1.5.8 r20854):
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

Minimum supported server version n/a
Minimum supported client version 1.5.8-9.20854

Note: Using this function/event requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.5.8-9.20854" />

See Also

* FEATURE ADDED IN 1.5.9 (BETA: 1.5.8 r20854):