Quote:
Originally Posted by GoD-Tony
Mind PM'ing me your code? I'll take a look.
|
Code:
public Action OnShouldBotAttackPlayer(bot, player, &bool:result)
{
if (ignore_bot_list[player])
{
result = false;
return Plugin_Changed;
}
if (bot_ignore_time[bot] >= GetGameTime())
{
result = false;
return Plugin_Changed;
}
if (GetEntityMoveType(bot) & MOVETYPE_LADDER)
{
result = false;
return Plugin_Changed;
}
return Plugin_Continue;
}
i'm sure on that code was fine before update your extension.