From ac7de82c6cce11853ccd187db3b96590d5a26de8 Mon Sep 17 00:00:00 2001 From: zaCade Date: Sat, 22 Jun 2024 10:58:30 +0200 Subject: [PATCH] [BotTargeting] Add motherzm exclusion. --- BotTargeting/scripting/BotTargeting.sp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/BotTargeting/scripting/BotTargeting.sp b/BotTargeting/scripting/BotTargeting.sp index 4d1e3b6a..9beacb3d 100644 --- a/BotTargeting/scripting/BotTargeting.sp +++ b/BotTargeting/scripting/BotTargeting.sp @@ -114,3 +114,11 @@ public int Native_IsAutismBot(Handle hPlugin, int numParams) return g_bIsAutismBot[client]; } + +public Action ZR_OnClientMotherZombieEligible(int client) +{ + if (g_bIsAutismBot[client]) + return Plugin_Handled; + + return Plugin_Continue; +}