Jerry
not rly active lol
I am currently developing my rp called "RageRP" and I need to fix the coding, Can someone help me out by this code?
The emu crash after awhile.. Any clues?
Code:
catch (Exception e)
{
string text = System.IO.File.ReadAllText(Environment.CurrentDirectory + "\\error-log.txt");
Output.WriteLine("Error in Pathfinder: " + e.Message + "\n\n" + e.StackTrace);
System.IO.StreamWriter file = new System.IO.StreamWriter(Environment.CurrentDirectory + "\\error-log.txt");
file.WriteLine(text + "Error in Pathfinder: " + e.Message + " " + e.StackTrace + "\n\n" + e.StackTrace,
OutputLevel.Notification + "\n\n");
}