I need help with my one hit kill code:
I Know, this is not my entire base and I need to update my addies. I just need help on what do i need to put in (if so what, like weapon id and etc.) and if anything is wrong.bool OneHit = false;
while(1) {
if(GetAsyncKeyState(VK_F9) &1){OneHit = !OneHit;}
if(OneHit){
DWORD dwWeapon = *(DWORD*)( dwCShell + 0xA299AC );
if ( dwWeapon ){
for( int i=0 ; i < 512 ; i++)
{
DWORD Weapon = *(DWORD*)( dwWeapon + i * 4 );
if ( Weapon ) continue;
*(float*)( Weapon + 0x7A4) = 3000.0f;