Appearance
PrivateChannel ​
GameserverMessagePrivateChannel · inbound · 32 bytes
Subscribe with Engine.on("PrivateChannel", fn). Print the live usage block with Engine.help("PrivateChannel").
lua
local Engine = require("sdk.engine")
Engine.on("PrivateChannel", function(ev)
print(ev.player_name)
end)| Name | Kind | Nested |
|---|---|---|
player_name | str | — |