Default value for KnifeOHK1 and 2...

Posts 1–7 of 7 · Page 1 of 1
Default value for KnifeOHK1 and 2...
I wanna make on and off for it.. what is the default value?
on is 999 off is 100 <- (normal knife damage)
Quote Originally Posted by jhadd4 View Post
on is 999 off is 100 <- (normal knife damage)
normal knife damage is 90 axe shovel is 130 if i am right
@acedia why you don't save in float array the original value befor you change them ?
I did back up method but my game crashed.. thank you guys.. figured it out awhile ago.. I manage to see a lagger posted at source code with damage values...
I need some help with one hit knife, i did all right but it still not working, sometimes it works on first hit, can someone help me? xkickass@hotmail.it
If you want to return to the original value just do this
Example:
Code:
bool knifeOHK = false; //before while(1)
if (GetAsyncKeyState(VK_F2)) { knifeOHK = !knifeOHK; Beep(512, 120); }// beep is optional

if(knifeOHK)
{
*(float*)(pWeapon + 0xBF8+y*4) = 1400;
*(float*)(pWeapon + 0xC04+y*4) = 1400;
}
else{
*(float*)(pWeapon + 0xBF8+y*4);//original value :D
*(float*)(pWeapon + 0xC04+y*4);
}
in credits :-)
I use 1450.0f it works perfect
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us