Open zaevi opened 2 years ago
For example I write a script named utils:
utils
function echo(str) yield("/echo "..str) end
Then I can use it in other scripts like:
RunScript("utils") local cp = GetCurrentCp() echo(cp)
It would be helpful to make complex scripts.
This. Please so much this. It would make things a load easier in the long term.
For example I write a script named
utils
:Then I can use it in other scripts like:
It would be helpful to make complex scripts.