static int fraction_current = fraction;
const char* fractionList[] = {
to_utf8("Не выбрано").c_str(),
to_utf8("Полиция г.Los-Santos").c_str(),
to_utf8("Полиция г.San-Fierro").c_str(),
to_utf8("Полиция г.Las-Venturas").c_str(),
to_utf8("Федеральное Бюро Расследований").c_str()
};
if (ImGui::Combo("fraction", &fraction_current, fractionList, IM_ARRAYSIZE(fractionList)))
fraction = fraction_current;