diff --git a/src/backend/looped/weapons/aimbot.cpp b/src/backend/looped/weapons/aimbot.cpp index 02774e55..07106956 100644 --- a/src/backend/looped/weapons/aimbot.cpp +++ b/src/backend/looped/weapons/aimbot.cpp @@ -139,7 +139,7 @@ namespace big continue; } - if (g.weapons.aimbot.exclude_friends && !ped->m_player_info) + if (g.weapons.aimbot.exclude_friends && ped->m_player_info) { auto rockstar_id = ped->m_player_info->m_net_player_data.m_gamer_handle.m_rockstar_id; auto is_friend = friends_service::is_friend(rockstar_id); diff --git a/src/backend/looped/weapons/triggerbot.cpp b/src/backend/looped/weapons/triggerbot.cpp index b8784116..c25985a1 100644 --- a/src/backend/looped/weapons/triggerbot.cpp +++ b/src/backend/looped/weapons/triggerbot.cpp @@ -33,7 +33,7 @@ namespace big if (g.weapons.aimbot.only_on_player && !ped_ptr->m_player_info) return; - if (g.weapons.aimbot.exclude_friends && !ped_ptr->m_player_info) + if (g.weapons.aimbot.exclude_friends && ped_ptr->m_player_info) { auto rockstar_id = ped_ptr->m_player_info->m_net_player_data.m_gamer_handle.m_rockstar_id; auto is_friend = friends_service::is_friend(rockstar_id);