Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Execute File :)
- OpenFileDialog ef = new OpenFileDialog();
- ef.Filter = "Txt Files (*.txt)|*.txt|Lua Files (*.lua)|*.lua|All Files (*.*)|*.*";
- if (ef.ShowDialog() == DialogResult.OK)
- {
- api.SendLimitedLuaScript(File.ReadAllText(ef.FileName));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement