C++ Deathmatch Godmode

Начинающий
Статус
Оффлайн
Регистрация
29 Дек 2021
Сообщения
84
Реакции[?]
16
Поинты[?]
10K
Works until you shoot .

Godmode:
void dmgod()
{
    if (!config->misc.dmgod || !localPlayer->isAlive() || !localPlayer->gunGameImmunity())
        return;

    static auto gameType{ interfaces->cvar->findVar("game_type") };
    static auto gameMode{ interfaces->cvar->findVar("game_mode") };
    if (gameType->getInt() != 1 || gameMode->getInt() != 2)
        return;

    static auto nextTime = 0.0f;
    if (nextTime <= memory->globalVars->realtime) {
        interfaces->engine->clientCmdUnrestricted("open_buymenu");
        nextTime = memory->globalVars->realtime + 0.25f;
    }
}
 
Сверху Снизу