fix(Aimbot/Triggerbot): crash could occur if the user had Trust Friends on when aimbotting (#3413)
This commit is contained in:
parent
40bf403500
commit
d946f063d1
@ -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);
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user