My godness ... how could you make it like this, it's horrible ...
change to this :
Code:
void glasswall()
{
if(GetKeyState(VK_MBUTTON))
{
*(int*)ADR_GlassWall = 1;
}
else
{
*(int*)ADR_GlassWall = 0;
}
}
void WeaponHack()
{
if(GetAsyncKeyState(VK_F7) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_WEAPON1) = 114;
}
}
}
void Automatic()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
*(int*)FullBright1 = 1092779973;
*(int*)FullBright2 = 1092779973;
*(int*)FullBright3 = 1092779973;
*(float*)(dwPlayerPtr+OFS) = -2000;
}
void HackThread()
{
for(;; )
{
if(*ingame)
{
glasswall();
Automatic();
WeaponHack();
}
Sleep(50);
}
}
//--------------------------End HackThread--------------------------//
//--------------------------End--------------------------//
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL,"Made By :ÏÐðl Ed'z Jham'z","MESSAGE",MB_OK);
MessageBoxA(NULL,"Suya Sila","Message",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
}
return TRUE;
}