Forum > Coding >

[RELEASE] Monaco save file

Nova355killer_

|Scripper|Programer|C#|

Posts: 23

Threads: 21

Joined: May, 2019

Reputation: 0

Posted

HtmlDocument document = this.webBrowser1.Document; string scriptName = "GetText"; object[] array = new string[0]; object[] array2 = array; object[] args = array2; object obj = document.InvokeScript(scriptName, args); string text = obj.ToString(); using (SaveFileDialog saveFileDialog = new SaveFileDialog()) { saveFileDialog.Filter = "Lua Script (*.lua)|*.lua|Text File (*.txt)|*.txt|All Files (*.*)|*.*"; saveFileDialog.Title = "your exploit name Save file."; saveFileDialog.ShowDialog(); try { string fileName = saveFileDialog.FileName; string text2 = text; string[] contents = new string[] { text2.ToString(), "" }; File.WriteAllLines(saveFileDialog.FileName, contents); } catch (Exception) { } } }
  • 1

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )