Advertisement
AJ_Danger

Untitled

Sep 10th, 2019
1,719
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.31 KB | None | 0 0
  1. //Execute File :)
  2. OpenFileDialog ef = new OpenFileDialog();
  3.             ef.Filter = "Txt Files (*.txt)|*.txt|Lua Files (*.lua)|*.lua|All Files (*.*)|*.*";
  4.             if (ef.ShowDialog() == DialogResult.OK)
  5.             {
  6.                 api.SendLimitedLuaScript(File.ReadAllText(ef.FileName));
  7.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement