Guest User

Untitled

a guest
May 22nd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. String current=thetextboxplx.AsTextBox.Text;
  2. if (game.debug_mode==1)
  3. {
  4. if (current!=null)
  5. {
  6. File *output
  7. if (!File.Exists("log.txt"))
  8. {
  9. output = File.Open("log.txt", eFileWrite);
  10. }
  11. else
  12. {
  13. output = File.Open("log.txt", eFileAppend);
  14. }
  15. output.WriteRawLine(String.Format("[%s",current));
  16. output.Close();
  17.  
  18. }
  19. }
  20.  
  21. }
Add Comment
Please, Sign In to add comment