Then there'd be ability to communicate with Autorun, with an api potentially like:
-- CLIENT
Autorun.sendToMenu(55, "hello", "world")
Autorun.getFromMenu(print)
-- MENU
Autorun.getFromClient(function(xyz)
print(xyz)
end)
Autorun.sendToClient(55)
--[[
Or an event based design
]]
-- CLIENT or MENU
Autorun.onEvent("xyz", function()
end)
-- CLIENT or MENU
Autorun.runEvent("xyz", 55)
Feel free to give API design ideas in here or on the discord.
Have a
menu.lua
file that will be run when the game launches in all pluginsEssentially could act as a replacement for https://github.com/glua/gmod-menu-plugins
As well as for ROC (https://github.com/glua/gm_roc), except this would be between both realms.
Then there'd be ability to communicate with Autorun, with an api potentially like:
Feel free to give API design ideas in here or on the discord.