ORION SOLUTIONS LUA API
Menu / UI
Lua Subtab
local misc = menu.get_tab("miscellaneous")
local subtab = misc:subtab("Lua Test")
local child = subtab:child("General", 290, 200)
child:checkbox("Enabled", true)
child:slider_int("Amount", 0, 100, 50)
child:text("Lua menu is working")
Custom Tab
local tab = menu.tab("Lua Test", "star")
local main = tab:subtab("Main")
local child = main:child("General", 290, 150)
child:checkbox("Enabled", true)
child:text("FontAwesome custom icon test")
Icon Fallback
Unknown icon names safely fall back to the code icon.
Native Child
local misc = menu.get_tab("miscellaneous")
local main = misc:get_subtab("main")
local movement = main:get_child("movement")
movement:checkbox("Lua Checkbox", true)
movement:slider_int("Lua Amount", 0, 100, 50)
movement:text("Added to the existing movement child")
Stable Native IDs
Native locations use stable API IDs such as main and movement. Visible menu labels can be renamed without changing Lua scripts.