feat(vendor): updated GTAV-Classes (#560)

This commit is contained in:
Aure7138
2022-11-09 06:44:52 +08:00
committed by GitHub
parent 1087146e56
commit 5f70975ffe
10 changed files with 16 additions and 14 deletions

View File

@ -23,7 +23,7 @@ namespace big
!plyr->get_ped() ||
!plyr->get_ped()->m_navigation) return;
auto& player_pos = plyr->get_ped()->m_navigation->m_position;
auto& player_pos = *plyr->get_ped()->m_navigation->get_position();
float screen_x, screen_y;

View File

@ -35,7 +35,7 @@ namespace big
float context_screen_x;
float context_screen_y;
auto& context_target_pos = g_context_menu_service->m_pointer->m_navigation->m_position;
auto& context_target_pos = *g_context_menu_service->m_pointer->m_navigation->get_position();
const auto context_target_distance = math::calculate_distance_from_game_cam(context_target_pos);
const auto context_target_multplr = context_target_distance > g->esp.global_render_distance[1] ? -1.f : 6.17757f / context_target_distance;

View File

@ -70,7 +70,7 @@ namespace big
return 0;
}
auto player_pos = plyr->get_ped()->m_navigation->m_position;
auto player_pos = *plyr->get_ped()->m_navigation->get_position();
location.x = player_pos.x;
location.y = player_pos.y;