feat(vendor): updated GTAV-Classes (#560)
This commit is contained in:
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user