29 lines
567 B
C#
29 lines
567 B
C#
![]() |
using System;
|
|||
|
using System.IO;
|
|||
|
|
|||
|
namespace CoopServer
|
|||
|
{
|
|||
|
class Program
|
|||
|
{
|
|||
|
static void Main(string[] args)
|
|||
|
{
|
|||
|
try
|
|||
|
{
|
|||
|
Console.Title = "GTACoop:R Server";
|
|||
|
|
|||
|
if (File.Exists("log.txt"))
|
|||
|
{
|
|||
|
File.WriteAllText("log.txt", string.Empty);
|
|||
|
}
|
|||
|
|
|||
|
_ = new Server();
|
|||
|
}
|
|||
|
catch (Exception e)
|
|||
|
{
|
|||
|
Logging.Error(e.ToString());
|
|||
|
Console.ReadLine();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|