Scripting/Client/Functions/ConsoleMessage

Prints a line to the client's script output (for debugging; not shown in chat).

Syntax

ConsoleMessage(text)

Arguments

Example

function onScriptLoad()
{
	ConsoleMessage( "Hello world" );
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Messages and chat

Categories: Client functions | Messages and chat