diff --git a/RageCoop.Client/Properties/AssemblyInfo.cs b/RageCoop.Client/Properties/AssemblyInfo.cs index 4348a03..fbd4171 100644 --- a/RageCoop.Client/Properties/AssemblyInfo.cs +++ b/RageCoop.Client/Properties/AssemblyInfo.cs @@ -16,7 +16,7 @@ using System.Resources; // Version informationr( -[assembly: AssemblyVersion("1.5.2.117")] -[assembly: AssemblyFileVersion("1.5.2.117")] +[assembly: AssemblyVersion("1.5.2.118")] +[assembly: AssemblyFileVersion("1.5.2.118")] [assembly: NeutralResourcesLanguageAttribute( "en-US" )] diff --git a/RageCoop.Client/Scripting/API.cs b/RageCoop.Client/Scripting/API.cs index 5fba22b..d52cfc5 100644 --- a/RageCoop.Client/Scripting/API.cs +++ b/RageCoop.Client/Scripting/API.cs @@ -245,6 +245,7 @@ namespace RageCoop.Client.Scripting Networking.ToggleConnection(null); } } + /// /// Send a local chat message to this player /// @@ -255,6 +256,15 @@ namespace RageCoop.Client.Scripting Main.MainChat.AddMessage(from, message); } + /// + /// Send a chat message or command to server/other players + /// + /// + public static void SendChatMessage(string message) + { + Networking.SendChatMessage(message); + } + /// /// Queue an action to be executed on next tick. ///