Garry's Mod Wiki

print

void print( vararg args )

Description

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

Seperates 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!

Page Links


Special Pages


Wikis

?

Render Time: 27ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 9
Render Body 0
Render Sidebar 13