Hi!
I am trying to make a filter separator, I have already made a separate entity, everything is prepared, it remains only to insert the interface from the filter manipulator. And here's how to do it, I don't understand.
How to make Filter Splitter
Re: How to make Filter Splitter
1. Listen for defines.events.on_gui_opened
2. Build a new gui and include a LuaGuiElement with type="choose-elem-button".
3. Set player.opened to your new gui.
2. Build a new gui and include a LuaGuiElement with type="choose-elem-button".
3. Set player.opened to your new gui.