Skip to content

print

Function · print · server and client scripts

print(...any) -> ()

print writes its arguments, separated by tabs, to Output and the in-game console (F9). A game server sends players' consoles at most 256 lines or 32768 bytes a second from server scripts and drops the rest.

Example

-- Server script.
print("score", 10, true) -- prints score    10  true