What's new

Welcome to HvH Forum!

SignUp Now! Download Free HvH CS2/CS:GO Cheats, CFG, LUA/JS Scripts, And More!


SignUp Now!

Source Code Exploit Deathmatch godmode

Administrator
User ID
1097
Messages
149
Reactions
232
Level
57
Works until you shoot

C++:
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;
    }
}
 
I'm not Plisskien
Administrator
User ID
1
Messages
1,406
Reactions
3,890
Level
99
Works until you shoot

C++:
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
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Top