From bbba0e86ab89b5f9b5657de2240c9e1cd741776e Mon Sep 17 00:00:00 2001 From: dogan Date: Mon, 9 Nov 2020 16:01:22 +0100 Subject: [PATCH] tiny fixes mce: add message for awarness of the random position on votes selectivebhop: fix client/target confusion --- SelectiveBhop/scripting/SelectiveBhop.sp | 2 +- mapchooser_extended/scripting/mapchooser_extended.sp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/SelectiveBhop/scripting/SelectiveBhop.sp b/SelectiveBhop/scripting/SelectiveBhop.sp index d2f5f8bf..ebfb7eec 100644 --- a/SelectiveBhop/scripting/SelectiveBhop.sp +++ b/SelectiveBhop/scripting/SelectiveBhop.sp @@ -344,7 +344,7 @@ public Action Command_Status(int client, int argc) if((target = FindTarget(client, sArgument, true, false)) == -1) return Plugin_Handled; - bool bLimited = view_as(g_ClientLimited[client] & (LIMITED_GENERAL | LIMITED_PLUGIN)); + bool bLimited = view_as(g_ClientLimited[target] & (LIMITED_GENERAL | LIMITED_PLUGIN)); if(bLimited) { diff --git a/mapchooser_extended/scripting/mapchooser_extended.sp b/mapchooser_extended/scripting/mapchooser_extended.sp index a01ed080..a79fcdf2 100644 --- a/mapchooser_extended/scripting/mapchooser_extended.sp +++ b/mapchooser_extended/scripting/mapchooser_extended.sp @@ -1435,6 +1435,7 @@ public int Handler_MapVoteMenu(Handle menu, MenuAction action, int param1, int p Format(buffer, sizeof(buffer), "%T", "Vote Nextmap", param1); Handle panel = view_as(param2); SetPanelTitle(panel, buffer); + DrawPanelText(panel, "Warning: The Position of the Maps are different for each Player."); } case MenuAction_DisplayItem: