From f50b9188bb8a4835c8b8cf6a5bf61ca1c0bfe68b Mon Sep 17 00:00:00 2001 From: Rob Warner Date: Mon, 15 Aug 2016 20:46:51 +0100 Subject: [PATCH] Don't print version to everyone The say command for the UMC version can be spammed in console to spam the version text to all players. It should only print the version to the player who initiated the command. --- addons/sourcemod/scripting/umc-core.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sourcemod/scripting/umc-core.sp b/addons/sourcemod/scripting/umc-core.sp index a909e88..9a7ff75 100644 --- a/addons/sourcemod/scripting/umc-core.sp +++ b/addons/sourcemod/scripting/umc-core.sp @@ -965,7 +965,7 @@ public Action:OnPlayerChat(client, const String:command[], argc) if (StrEqual(text, "umc", false) || StrEqual(text, "!umc", false) || StrEqual(text, "/umc", false)) - PrintToChatAll("[SM] Ultimate Mapchooser v%s by Steell", PL_VERSION); + PrintToChat(client, "[SM] Ultimate Mapchooser v%s by Steell", PL_VERSION); return Plugin_Continue; }