What's new

Welcome to HvH Forum!

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


SignUp Now!

Source Code Exploit Deathmatch godmode

Moderator
User ID
1097
Messages
77
Reactions
363
Level
58
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
569
Reactions
3,295
Level
96
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