Used to log a string, object, number, or pretty much anything to the console.

If you get [Object object] then you should wrap the content inside of the log with JSON.stringify(someVariable, null, '\t').


alt.log(...args: any[]): void


alt.log('Hello World');

Real World Example

alt.log('This console log is white in the console!');

These examples assume you have imported alt from alt-client.

results matching ""

    No results matching ""