tiny fixes
mce: add message for awarness of the random position on votes selectivebhop: fix client/target confusion
This commit is contained in:
parent
e87162368f
commit
ae14cf0899
@ -344,7 +344,7 @@ public Action Command_Status(int client, int argc)
|
|||||||
if((target = FindTarget(client, sArgument, true, false)) == -1)
|
if((target = FindTarget(client, sArgument, true, false)) == -1)
|
||||||
return Plugin_Handled;
|
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)
|
if(bLimited)
|
||||||
{
|
{
|
||||||
|
@ -1435,6 +1435,7 @@ public int Handler_MapVoteMenu(Handle menu, MenuAction action, int param1, int p
|
|||||||
Format(buffer, sizeof(buffer), "%T", "Vote Nextmap", param1);
|
Format(buffer, sizeof(buffer), "%T", "Vote Nextmap", param1);
|
||||||
Handle panel = view_as<Handle>(param2);
|
Handle panel = view_as<Handle>(param2);
|
||||||
SetPanelTitle(panel, buffer);
|
SetPanelTitle(panel, buffer);
|
||||||
|
DrawPanelText(panel, "Warning: The Position of the Maps are different for each Player.");
|
||||||
}
|
}
|
||||||
|
|
||||||
case MenuAction_DisplayItem:
|
case MenuAction_DisplayItem:
|
||||||
|
Loading…
Reference in New Issue
Block a user