Closed tacheometry closed 4 years ago
Yup, this is possible by using _G.Aero
! In your case, it could be like this:
while (not _G.Aero) do wait() end
ClientRun = function(_, argument)
local myController = _G.Aero.Controllers.MyController
return myController:DoSomethingWith(argument)
end
See the documentation on external use: https://sleitnick.github.io/AeroGameFramework/execution_model/#external-use
Is there a way to access a controler/service's functions from a Script/LocalScript that isn't related at all to AGF? More details: