Garry's Mod Wiki

ClearLuaErrorGroup

  ClearLuaErrorGroup( string group_id )

Description

Clears all Lua Errors with the given group id.

Arguments

1 string group_id
group_id to remove. Will be "[addon-name]-0" or "Other-"

Example

Creating an Error and Removing it from the Problems menu.

RunString("Error") -- Errors not created by an addon count as Other- ClearLuaErrorGroup("Other-")