print

From Onset Developer Wiki
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)