From f943f10b428bd00d01f41f43dace219dca1472f5 Mon Sep 17 00:00:00 2001 From: Kirollos Date: Tue, 22 Sep 2015 16:38:54 +0200 Subject: [PATCH] Added "say" to command help list --- RCON/src/RCON.h | 1 + RCON/src/main.cpp | 2 +- RCON/src/main.h | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RCON/src/RCON.h b/RCON/src/RCON.h index 1424952..8324dcf 100644 --- a/RCON/src/RCON.h +++ b/RCON/src/RCON.h @@ -85,6 +85,7 @@ const std::string commands[][3] = {"banip", "Bans the given IP from the server", "[IPv4]"}, {"unbanip", "Unbans the given IP from the server", "[IPv4]"}, {"players", "Lists the connected players with basic info", ""}, + {"say", "Sends a message to the game", "[message]"}, {"servername", "Gets/Sets the server name", "get: none, set: [server name]"}, {"maxplayers", "Gets/Sets the maxplayers", "get: none, set: [slots]"}, {"serverpassword", "Gets/Sets the server password", "get: none, set: [password]"}, diff --git a/RCON/src/main.cpp b/RCON/src/main.cpp index a262f5e..c9dcd2f 100644 --- a/RCON/src/main.cpp +++ b/RCON/src/main.cpp @@ -36,7 +36,7 @@ extern "C" Sleep(5000); // In need to attach debugger sometimes #endif strcpy(pluginInfo->szName, "RCON"); - pluginInfo->uPluginVer = 0x1000; + pluginInfo->uPluginVer = 0x1001; VCMP_PF = pluginFuncs; VCMP_PF->printf("Initializing RCON..."); diff --git a/RCON/src/main.h b/RCON/src/main.h index 8cfd372..1471423 100644 --- a/RCON/src/main.h +++ b/RCON/src/main.h @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include "RCON.h"