R63 RP help,

Jerry

not rly active lol
Jul 8, 2013
1,957
522
I am currently developing my rp called "RageRP" and I need to fix the coding, Can someone help me out by this code?
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");
            }
The emu crash after awhile.. Any clues?
 

Users who are viewing this thread

Top