Welcome to hackvshack.net Forum!
Download Free HvH CS2/CS:GO Cheats, CFG, LUA/JS Scripts, and More!
Register

C++ Exploit Deathmatch godmode

viv.exe

Administrator
User ID:
1097
Messages:
148
Reactions:
213
Badges:
19
REP:
−0/0+
Level:
263
Works until you shoot

C++:
Expand Collapse Copy
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;
    }
}
 
Works until you shoot

C++:
Expand Collapse Copy
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;
    }
}
Why they haven't fixed it yet, xd
 

Who has read this thread (Total: 0) in last 1 hours View details