I've got a bit further with this and im now looking to develop it into an app but im having trouble getting the above example lua code to run from a .lp page.
How do i start / stop a lua script file from a button on an lp page, similar to enable and disable of a resident script with 0 seconds? this would be to start and stop the copas script example posted previously.
And how can i call functions or modules from the same lua file using button press's?
How do i start / stop a lua script file from a button on an lp page, similar to enable and disable of a resident script with 0 seconds? this would be to start and stop the copas script example posted previously.
And how can i call functions or modules from the same lua file using button press's?