Garry's Mod Wiki

Garry's Mod Wiki

  DHTML:ConsoleMessage( string msg )

Description

Called when the page inside the DHTML window runs the console.log javascript function. On the x86-64 beta, it's called for all built-in console.* javascript functions.

If DHTML:SetAllowLua is set to true and the message begins with RUNLUA:, the text following RUNLUA: will be executed as code within the Lua environment (this is how Lua is called from DHTML windows).

Arguments

1 string msg
The message to be logged (or Lua code to be executed; see above).

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...