I'm pretty sure that the offset for AmmoDamage is 0x7F6, not 0x7F8, also to tell you the truth, you dont need half of those brackets xD
this the one hit kill soruce but it wont work
any adviceCode:for(int i=0 ; i<445 ; i++) { *(float*)( (*(DWORD*)((*(DWORD*)(CShellBase +0x30845C ))+(4*i))) + 0x7F8) = FLT_MAX; }
I'm pretty sure that the offset for AmmoDamage is 0x7F6, not 0x7F8, also to tell you the truth, you dont need half of those brackets xD
Yeah.. I'm so stupid >.< it was in fact 0x7F8
Maybe it's another part of the code? Looks good to me...
This code is correct... /msg2short
~Donater since 19th October 2011~
~Ex-Crossfire Minion || Resigned on 4th February 2012 ~Da fuck