Results 1 to 4 of 4
  1. #1
    DOOP's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Leyte
    Posts
    547
    Reputation
    44
    Thanks
    3,251

    Long Range Knife

    Credit giniyat101

    Code:
    	if(dwWeapon)
    	{
    		for(int i=0; i<853; i++)
    		{
    			DWORD pWeapon = *(DWORD*)(dwWeapon +(szd*i));
    			if(pWeapon)
    			{
    				if(LongKnife)
    				{
    					if(IsKnife)
    					{
    						for(int y=0; y<3; y++)
    						{
    							*(float*)(pWeapon + LongknifeOffset1 + szd*y) = WeaponBackup[i].longknife1[y] + 300; //KnifeNormalRange
    							*(float*)(pWeapon + LongknifeOffset2 + szd*y) = WeaponBackup[i].longknife2[y] + 300; //KnifeBigshotRange
    						}
    						*(float*)(pWeapon + RangeOffset) = WeaponBackup[i].range + 300;
    					}
    				}
    				else
    				{
    					if(IsKnife)
    					{
    						for(int y=0; y<3; y++)
    						{
    							*(float*)(pWeapon + LongknifeOffset1 + szd*y) = WeaponBackup[i].longknife1[y]; //KnifeNormalRange
    							*(float*)(pWeapon + LongknifeOffset2 + szd*y) = WeaponBackup[i].longknife2[y]; //KnifeBigshotRange
    						}
    						*(float*)(pWeapon + RangeOffset) = WeaponBackup[i].range;
    					}
    				}
    			}
    		}
    	}

  2. #2
    edrianski0's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    define it!

  3. #3
    omidcruise's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    hi
    where should I put this code?
    thanks

  4. #4
    “I fear the day technology will surpass our human interaction. The world will have a generation of idiots.” ~Albert Einstein
    MPGH Member
    SteamAss's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    Crossfire
    Posts
    2,278
    Reputation
    28
    Thanks
    770
    My Mood
    Asleep
    OMG very nice! Ill try to use it in my new hack



    If you need my Help:
    PM/VM

    Because The People Who Are Crazy Enough To Think They Can Change The World, Are The Ones Who Do. ~Steve Jobs

Similar Threads

  1. Long Range Knife Glitch Request
    By Elton20 in forum Alliance of Valiant Arms (AVA) Help
    Replies: 20
    Last Post: 01-15-2012, 01:33 PM
  2. [Tutorial] How To Long Range Knife Glitch
    By Aaron7337 in forum Alliance of Valiant Arms (AVA) Discussions
    Replies: 8
    Last Post: 12-16-2011, 10:50 AM
  3. Long-range Knife hack.
    By Invader_Zim in forum Combat Arms Hack Requests
    Replies: 12
    Last Post: 08-08-2011, 08:25 PM
  4. [Demo free] Sick long range deag @ port
    By PIGHUNTER in forum CrossFire Discussions
    Replies: 15
    Last Post: 07-18-2010, 06:47 PM
  5. What sniper / long range assault rifle should i get permanent
    By xxpwnnerxx in forum Combat Arms Discussions
    Replies: 23
    Last Post: 07-09-2010, 05:38 AM