Not sure which game you are asking about. If the game is Team Fortress 2 there is a plugin by the talented Tylerst called '[TF2] Bot Ignore'. In that plugin targeted players are ignored by Bots. Here's a link:
https://forums.alliedmods.net/showthread.php?p=2087931
Here's the key piece of code used in that plugin:
PHP Code:
SetBotIgnore(client, bool:bIgnore)
{
if(bIgnore)
{
TF2_AddCondition(client, TFCond_StealthedUserBuffFade, -1.0);
g_BotIgnore[client] = true;
}
else
{
TF2_RemoveCondition(client, TFCond_StealthedUserBuffFade);
g_BotIgnore[client] = false;
}
}