Skip to content

Console

Functions

DebuggingMods

 function Console.DebuggingMods((bool) Activate/Deactivate)

Console.DebuggingMods

Enables/Disables the debugging of internal methods related to modding


Log

 function Console.Log((string)Text)
Parameter Type 📝 Description
Text string This parameter takes the string to be written to the log.

Console.Log

This method outputs a text into the game's console.

Example

Console.Log("Hello World!")
This example prints the text 'Hello World' to the console.


LogError

 function Console.LogError((string)Text)
Parameter Type 📝 Description
Text string This parameter takes the string to be written to the log.

Console.LogError

This method outputs a text into the game's console in red color.

Example

Console.LogError("Error!")
This example prints the text 'Error' to the console in red color.

Comments