lua freak
-
Автор темы
- #1
Im trying to make it so that my invert indicator displays "<" when inverted and ">" when it isnt
[CODE = cpp] if (g_cfg [XOR ("rage_aa_enabled")] .get <bool> ()) {
if (g_cfg [XOR ("misc_indicators_desync")] .get <bool> ()) {
if (g_cl.m_negate_desync) {
Indicator_t ind {};
ind.color = Color :: Palette_t :: White ();
ind.text = XOR ("<");
if else
Indicator_t ind {};
ind.color = Color :: Palette_t :: White ():
ind.text = XOR (">");
indicators.push_back (ind);
}
}
} [/ CODE]
this is my code atm, any help would be appreciated!
[CODE = cpp] if (g_cfg [XOR ("rage_aa_enabled")] .get <bool> ()) {
if (g_cfg [XOR ("misc_indicators_desync")] .get <bool> ()) {
if (g_cl.m_negate_desync) {
Indicator_t ind {};
ind.color = Color :: Palette_t :: White ();
ind.text = XOR ("<");
if else
Indicator_t ind {};
ind.color = Color :: Palette_t :: White ():
ind.text = XOR (">");
indicators.push_back (ind);
}
}
} [/ CODE]
this is my code atm, any help would be appreciated!