What is wrong with this triggerbot?
Code:
if (chams == 1)
{
if (GetAsyncKeyState(16) < 0)
{
int localPlayer = ReadInt32(bChromeClient + 0x00a8c53c, Extra);
int crosshairIndex = ReadInt32(localPlayer + 0x0000aa58, Extra);
int crossHairEntity = ReadInt32(bChromeClient + 0x04aadc64 + (crosshairIndex - 1) *0x10, Extra);
int myTeam = ReadInt32(localPlayer + 0x000000f0, Extra);
int entityTeam = ReadInt32(crossHairEntity + 0x000000f0, Extra);
int entityHP = ReadInt32(crossHairEntity + 0xFC, Extra);
if (crosshairIndex != 0 && crossHairEntity != 0 && myTeam != entityTeam && crossHairEntity > 0 && entityHP > 0)
{
Thread.Sleep(200);
keybd_event(39, 0x39, 0, (UIntPtr)0);
keybd_event(39, 0x39, KEYCHROME_KEYUP, (UIntPtr)0);
}
}
Thread.Sleep(1);
}
}