int iHealth;
BYTE* pYOURHEALTH = (BYTE*)0x66666666;
void Thread1(void)
{
while(1) // loop
{
iHealth = *(BYTE*)pYOURHEALTH; // get health
if( iHealth > 0 && iHealth < 100 )
{
*(BYTE*)pYOURHEALTH = 100;//set health
MySendMessage(hWnd, WM_KEYDOWN,VK_F5,0); // or press a key or click the mouse...
MySendMessage(hWnd, WM_KEYUP,VK_F5,0);
}
Sleep(200);
}
}
Example of how you would do a health bot
Suscribirse a:
Enviar comentarios (Atom)
0 comentarios:
Publicar un comentario