Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String current=thetextboxplx.AsTextBox.Text;
- if (game.debug_mode==1)
- {
- if (current!=null)
- {
- File *output
- if (!File.Exists("log.txt"))
- {
- output = File.Open("log.txt", eFileWrite);
- }
- else
- {
- output = File.Open("log.txt", eFileAppend);
- }
- output.WriteRawLine(String.Format("[%s",current));
- output.Close();
- }
- }
- }
Add Comment
Please, Sign In to add comment