for some reason we miss these entires in translation file, so just replacing with simple print
This commit is contained in:
parent
a4b527ea22
commit
8651cae482
@ -671,7 +671,8 @@ public Action Command_Nominate(int client, int args)
|
|||||||
int status;
|
int status;
|
||||||
if(!GetTrieValue(g_mapTrie, mapname, status))
|
if(!GetTrieValue(g_mapTrie, mapname, status))
|
||||||
{
|
{
|
||||||
CPrintToChat(client, "%t", "Map was not found", mapname);
|
//CPrintToChat(client, "%t", "Map was not found", mapname);
|
||||||
|
ReplyToCommand(client, "Map was not found: %s", mapname);
|
||||||
AttemptNominate(client, mapname);
|
AttemptNominate(client, mapname);
|
||||||
return Plugin_Handled;
|
return Plugin_Handled;
|
||||||
}
|
}
|
||||||
@ -681,7 +682,8 @@ public Action Command_Nominate(int client, int args)
|
|||||||
if((status & MAPSTATUS_DISABLED) == MAPSTATUS_DISABLED)
|
if((status & MAPSTATUS_DISABLED) == MAPSTATUS_DISABLED)
|
||||||
{
|
{
|
||||||
if((status & MAPSTATUS_EXCLUDE_CURRENT) == MAPSTATUS_EXCLUDE_CURRENT)
|
if((status & MAPSTATUS_EXCLUDE_CURRENT) == MAPSTATUS_EXCLUDE_CURRENT)
|
||||||
CPrintToChat(client, "[NE] %t", "Cant Nominate Current Map");
|
ReplyToCommand(client, "Cant Nominate Current Map.");
|
||||||
|
//CPrintToChat(client, "[NE] %t", "Cant Nominate Current Map");
|
||||||
|
|
||||||
if(RestrictionsActive && (status & MAPSTATUS_EXCLUDE_PREVIOUS) == MAPSTATUS_EXCLUDE_PREVIOUS)
|
if(RestrictionsActive && (status & MAPSTATUS_EXCLUDE_PREVIOUS) == MAPSTATUS_EXCLUDE_PREVIOUS)
|
||||||
{
|
{
|
||||||
@ -742,7 +744,8 @@ public Action Command_Nominate(int client, int args)
|
|||||||
|
|
||||||
if (result == Nominate_InvalidMap)
|
if (result == Nominate_InvalidMap)
|
||||||
{
|
{
|
||||||
CPrintToChat(client, "[NE] %t", "You already nominated the map ", mapname);
|
//CPrintToChat(client, "[NE] %t", "You already nominated the map ", mapname);
|
||||||
|
ReplyToCommand(client, "You already nominated the map.");
|
||||||
return Plugin_Handled;
|
return Plugin_Handled;
|
||||||
}
|
}
|
||||||
if(result > Nominate_Replaced)
|
if(result > Nominate_Replaced)
|
||||||
|
Loading…
Reference in New Issue
Block a user