Garry's Mod Wiki

Garry's Mod Wiki

  print( ... )

Description

Writes every given argument to the console. Automatically attempts to convert each argument to a string. (See tostring)

Separates lines with a line break ("\n")

Separates arguments with a tab character ("\t").

Arguments

1 vararg args
List of values to print.

Example

Prints "Hello World! Yay!" to the console.

print("Hello World!", "Yay!")
Output:
Hello World! Yay!

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 four times a day. Edits and history are not available.

Last Parsed: Loading...