Originally Posted by
buxkaizhe
I need you help. I have all 9 weapon pointers including Hk416. I know you can loop through each gun using for loop but ive tried and it failed. Would you help me in making classes? Or maybe i have errors in my coding.
What it is not Working on All Weapon ? Please Help ? @buxkaizhe @yulu @Armored- @Coder.Dash˛ @Fєηix
Code:
for (int i = 0; i < 512;i+=2)
{
if (GetAsyncKeyState(VK_F1))
{
*(DWORD*)(*(DWORD*)(*(DWORD*)(WeaponMGR) + (i * 4)) + Damage) = 2; // Will edit the Vectors (Damage X%)
}
}