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