tiny fixes

mce: add message for awarness of the random position on votes
selectivebhop: fix client/target confusion
This commit is contained in:
dogan 2020-11-09 16:01:22 +01:00
parent e87162368f
commit ae14cf0899
2 changed files with 2 additions and 1 deletions

View File

@ -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<bool>(g_ClientLimited[client] & (LIMITED_GENERAL | LIMITED_PLUGIN));
bool bLimited = view_as<bool>(g_ClientLimited[target] & (LIMITED_GENERAL | LIMITED_PLUGIN));
if(bLimited)
{

View File

@ -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<Handle>(param2);
SetPanelTitle(panel, buffer);
DrawPanelText(panel, "Warning: The Position of the Maps are different for each Player.");
}
case MenuAction_DisplayItem: