for (int i = 0; i != SAMP::API::v037r3::CLabelPool::MAX_TEXT_LABELS; i++)
{
auto pPool = SAMP::API::v037r3::RefNetGame()->m_pPools->m_pLabel;
if (pPool->m_bNotEmpty[i])
{
auto vecPos = pPool->m_object[i].m_position;
ImGui::Text("ID: %d, text: %s, pos: [ %.2f %.2f %.2f ]", i, pPool->m_object[i].m_pText, vecPos.x, vecPos.y, vecPos.z);
}
}