diff --git a/MultiTheftAuto/Ban.cs b/MultiTheftAuto/Ban.cs index 679af0d..8c2920c 100644 --- a/MultiTheftAuto/Ban.cs +++ b/MultiTheftAuto/Ban.cs @@ -10,7 +10,7 @@ namespace MultiTheftAuto } [MethodImpl( MethodImplOptions.InternalCall )] - static extern public Ban Add( string ip, string username, string serial, Element responsible, string responsibleName, string reason, int unban ); + static extern public Ban Add( string ip, string username, string serial, Element responsible, string reason, int unban ); [MethodImpl( MethodImplOptions.InternalCall )] extern public bool Remove( Ban ban, Element responsible ); diff --git a/MultiTheftAuto/Console.cs b/MultiTheftAuto/Console.cs index b77b8cf..e54440d 100644 --- a/MultiTheftAuto/Console.cs +++ b/MultiTheftAuto/Console.cs @@ -14,7 +14,7 @@ namespace MultiTheftAuto } [MethodImpl( MethodImplOptions.InternalCall )] - public static extern bool Output( string text, Element element = null ); + public static extern bool Output( string text, Element player = null ); public static int Read() { diff --git a/MultiTheftAuto/Element.cs b/MultiTheftAuto/Element.cs index 5472cc0..2955376 100644 --- a/MultiTheftAuto/Element.cs +++ b/MultiTheftAuto/Element.cs @@ -29,11 +29,6 @@ namespace MultiTheftAuto { } - ~Element() - { - Debug.Info( "~Element() [0x" + this + "]" ); - } - #endregion #region Methods diff --git a/MultiTheftAuto/MultiTheftAuto.csproj b/MultiTheftAuto/MultiTheftAuto.csproj index 1c3b076..8aa5e11 100644 --- a/MultiTheftAuto/MultiTheftAuto.csproj +++ b/MultiTheftAuto/MultiTheftAuto.csproj @@ -133,7 +133,8 @@ - pdb2mdb $(TargetPath) + +