System::startNewScriptWithArgs
return : script thread id, 0 if failed
Pass pointer to struct of args in p1, size of struct goes into p2
Syntax
mp.game.system.startNewScriptWithArgs(scriptName, args, argCount, stackSize);Required Arguments
- scriptName: String
- args: unknown (to be checked)
- argCount: int
- stackSize: int
Return value
- int
Example
// todo