mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-24 09:22:50 +08:00
Feat ptr cache continued (#1227)
This commit is contained in:

committed by
GitHub

parent
a3b8e780ec
commit
5a4dc03121
@ -12,7 +12,7 @@ namespace big
|
||||
static char dst_text[256];
|
||||
static char src_text[256];
|
||||
static size_t selected_index = -1;
|
||||
static float width = *g_pointers->m_resolution_x / 5.0;
|
||||
static float width = *g_pointers->m_gta.m_resolution_x / 5.0;
|
||||
|
||||
ImGui::SetNextItemWidth(width);
|
||||
ImGui::InputText("Dst", dst_text, IM_ARRAYSIZE(dst_text));
|
||||
|
@ -203,7 +203,7 @@ namespace big
|
||||
static Player selected_ped_for_player_id = -1;
|
||||
auto& player_arr = g_player_service->players();
|
||||
|
||||
if (!*g_pointers->m_is_session_started)
|
||||
if (!*g_pointers->m_gta.m_is_session_started)
|
||||
{
|
||||
selected_ped_player_id = -1;
|
||||
|
||||
@ -301,7 +301,7 @@ namespace big
|
||||
ImGui::SetItemDefaultFocus();
|
||||
}
|
||||
|
||||
if (*g_pointers->m_is_session_started)
|
||||
if (*g_pointers->m_gta.m_is_session_started)
|
||||
{
|
||||
for (auto& item : player_arr)
|
||||
{
|
||||
@ -558,7 +558,7 @@ namespace big
|
||||
ImGui::SetItemDefaultFocus();
|
||||
}
|
||||
|
||||
if (*g_pointers->m_is_session_started)
|
||||
if (*g_pointers->m_gta.m_is_session_started)
|
||||
{
|
||||
for (auto& [_, plyr] : player_arr)
|
||||
{
|
||||
|
Reference in New Issue
Block a user