RedM Natives

PRINT_STRUCTURED_TRACE

Prints 'structured trace' data to the server file descriptor 3 channel.

Hash0x90892DED
Runtime namePrintStructuredTrace
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

void PRINT_STRUCTURED_TRACE(char* jsonString);

Parameters

NameTypeDescription
jsonStringchar*

JSON data to submit as payload in the script_structured_trace event.

Returns void

Description

Cfx.re native reference

Prints 'structured trace' data to the server file descriptor 3 channel. This is not generally useful outside of server monitoring utilities.

Usage

Lua
PrintStructuredTrace(jsonString)

-- always works, by hash
Citizen.InvokeNative(0x90892ded, jsonString)
JavaScript and C#
JavaScript
PrintStructuredTrace(jsonString);

// by hash
Citizen.invokeNative('0x90892ded', jsonString);
C#
Function.Call((Hash)0x90892ded, jsonString);

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.