public static MDbgEngine process_StopInNSeconds(this MDbgEngine engine, int seconds) { O2Thread.mtaThread( () => { engine.sleep(seconds * 1000); engine.stop_Process(); }); return(engine); }