Модератор форума
-
Автор темы
- #1
Код:
void SendCommandToConsole(char* command ...)
{
__asm
{
push command
push 0
push 0
mov esi, 0x004F9AB0
call esi
add esp, 0x0C
}
}
Код:
void SetClanTag(const char* tag, const char* name)
{
static auto pSetClanTag = reinterpret_cast<void(__fastcall*)(const char*, const char*)>(reinterpret_cast<uintptr_t>(GetModuleHandleA("engine.dll")) + 0x0009AC90);
pSetClanTag(tag, name);
}
Код:
void namespamidkmemes(CPlayer* me,CUserCmd* cmd)
{
{
static bool steal = false;
ConVar* Name = Interface.CVar->FindVar("name");
*(int*)((DWORD)&Name->fnChangeCallback + 0xC) = 0;
if (Name)
{
if (steal)
{
Name->SetValue("-PrimalHack"); // insert the Name of ur hack here or anything else u want to do
}
else
{
Name->SetValue("PrimalHack-"); // insert the Name of ur hack here or anything else u want to do
}
steal = !steal; // more simple like a normal cactus because yea.
}
}
}