From the reference libraryFiveM

Citizen.Trace

fivem-docs/docs/scripting-reference/runtimes/lua/functions/Citizen.Trace.md

Citizen.Trace


title: Citizen.Trace

Syntax

Citizen.Trace(message)

Outputs the passed message to any trace listeners, including the console output and the log file. Does not add a newline by itself, therefore suffix a message with "\n".

Examples

This example will print "Hello, World!".

Citizen.Trace("Hello, World!\n")

<!-- is this function even exclusive to lua? and where is it defined? alias: RconPrint -->


title: Citizen.Trace

Syntax

Citizen.Trace(message)

Outputs the passed message to any trace listeners, including the console output and the log file. Does not add a newline by itself, therefore suffix a message with "\n".

Examples

This example will print "Hello, World!".

Citizen.Trace("Hello, World!\n")

<!-- is this function even exclusive to lua? and where is it defined? alias: RconPrint -->

Back to documentation