-
Автор темы
- #1
C++:
void Client::NameSpam() {
static bool bReset = false;
if (g_menu.main.misc.name_spam.get()) {
static bool flip = false;
g_csgo.name->m_callbacks.RemoveAll();
g_csgo.name->SetValue(XOR("\x81 Your text"));
g_csgo.voice_loopback->SetValue(flip);
flip = !flip;
// do we want to reset after untoggling the name spam?
bReset = true;
}
else if (bReset)
{
// disable voice loopback.
g_csgo.voice_loopback->SetValue(false);
bReset = false;
}
}
Последнее редактирование: