DHTML/ConsoleMessage

From Garry's Mod
Jump to: navigation, search
 DHTML:ConsoleMessage( )

DescriptionPanelFunc

Called when the page inside the DHTML window runs console.log. This can also be called within the Lua environment to emulate console.log. If the contained message begins with RUNLUA: the following text will be executed as code within the Lua environment (this is how Lua is called from DHTML windows).

Arguments

string msg

The message to be logged (or Lua code to be executed; see above).
Personal tools
Navigation