System::startNewScriptWithArgs

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

See also

Template:System s function c