Skip to main content

Console

Shared Functions

NameDescription
LogPrints a message to the console and the log file.

Log

Prints a message to the console and the log file.

Console.Log(string message)

Example:

Events.Subscribe("playerDisconnect", function(id, name, reason)
Console.Log("Player " .. name .. " has left the server with reason " .. reason .. ".")
end)