print

From Onset Developer Wiki
Revision as of 16:40, 26 September 2020 by BlueMountains (talk | contribs) (Created page with "{{Info|Function|Client & Server|1.0}} {{FuncDescription|Prints a message to the console and log. See ClientParameters where client logs are written to.}} {{FuncSyntax|p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
print

Type: Function
Context: Client & Server
Introduced: v1.0

Description

Prints a message to the console and log.

See ClientParameters where client logs are written to.

Syntax

print(...)

Parameters

  • ...
    Parameters of any type

Return Value

  • Returns nothing.

Example

local function OnPackageStart()
	print(GetPackageName().." started")
end
AddEvent("OnPackageStart", OnPackageStart)