Garry's Mod Wiki

MsgN

  MsgN( vararg args )

Description

Same as print, except it concatinates the arguments without inserting any whitespace in between them.

See also Msg, which doesn't add a newline ("\n") at the end.

Arguments

1 vararg args
List of values to print. They can be of any type and will be converted to strings with tostring.

Example

Prints "Hello, World!" in two lines to the console.

MsgN("Hello,") MsgN("World!")
Output:
Hello, World!