From 15785fd03d1908df57e759f8429531b6a735d819 Mon Sep 17 00:00:00 2001 From: ALittlePatate Date: Wed, 17 Apr 2024 17:47:23 +0200 Subject: [PATCH] fix: aimbot targeting allies --- ImGuiExternal/Source.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ImGuiExternal/Source.cpp b/ImGuiExternal/Source.cpp index b546a5c..60cbefd 100644 --- a/ImGuiExternal/Source.cpp +++ b/ImGuiExternal/Source.cpp @@ -177,7 +177,8 @@ void Draw() { continue; } - DoAimbot(w2s_neckpos, sqrt(abs(w2s_headpos.y - w2s_neckpos.y)), show_fov, is_visible); + if (ent_team != localplayer_team) + DoAimbot(w2s_neckpos, sqrt(abs(w2s_headpos.y - w2s_neckpos.y)), show_fov, is_visible); #ifdef _DEBUG char ent_text[256];