Garry's Mod Wiki


DHTML:ConsoleMessage( string msg )


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).


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

Page Links

Special Pages



Render Time: 27ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 8
Render Body 0
Render Sidebar 11