Appearance
TextForReport ​
GameserverMessageTextForReport · inbound · 48 bytes
Subscribe with Engine.on("TextForReport", fn). Print the live usage block with Engine.help("TextForReport").
lua
local Engine = require("sdk.engine")
Engine.on("TextForReport", function(ev)
print(ev.report_type, ev.reason, ev.comment)
end)| Name | Kind | Nested |
|---|---|---|
report_type | u32 | — |
reason | str | — |
comment | str | — |