Results 1 to 1 of 1
  1. #1
    lagger's Avatar
    Join Date
    Feb 2007
    Gender
    male
    Posts
    156
    Reputation
    125
    Thanks
    174

    what's wrong with this code?

    Code:
    [NoMenu]
    
    void QuickPD()
    {
    DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
    if(dwPlayerPtr != 0)
    {
        if(GetAsyncKeyState('F'))
       {
            *(float*)(ADR_QUICKPD) = 99999.0F;
       }
       else
      {
            *(float*)(ADR_QUICKPD) = 5.3769406e-3;
       }
    }
    }
    
    
    
    [Menu]
    
    if (dwPlayerPtr != 0)
    {
            if(CH_QuickPD == 1)  
    	{
    		if(GetAsyncKeyState('F'))		
    		{
    			*(float*)(ADR_QUICKPD) = 99999.0F;
    		}
    		else
    		{
    			*(float*)(ADR_QUICKPD) = 5.3769406e-3;	
    		}
    	}
    }

    I got NoMenu and Menu hack with several hacks. they all work fine except QuickPD on Menu. other Menu hacks working good. why this QuickPD hack on Menu does not work? any ideas?
    Last edited by lagger; 12-06-2012 at 08:25 PM.
    盧알라 후 아크바르!

    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
    ░░░▄███▄░░░░▄▄▄▄▄▄▄▄▄▄░░░▄███▄░░░░░░░░░░░░░░░
    ░░▄█░░░██▄░█▀▀▀▀▀▀▀▀▀▀█▄██░░░█▄░░░░░░░░░░░░░░
    ░░█░█░█░██▄▄░░░░░░░░░▄▄█░█░░█░█░░░░░░░░░░░░░░
    ░░█░░█░░██░░▀▄░░░░░▄▀░░█░░██░░█░░░░░░░░░░░░░░
    ░░▀██░█░█░▄▄▄░▀░▄░▀░▄▄▄░█░█░██▀░░░░░░░░░░░░░░
    ░░░▀████░█░█░█░███░█░█░█░████▀░░░░░░░░░░░░░░░
    ░░░░░░░█░░▀▀▀░█████░▀▀▀░░█░░░░░░▄▄▄▄░░░░█░░░█
    ░░░░░░█░░░░░░▄█████▄░░░░░░█░░░░█░░░░█░░░█▄▄▄█
    ░░░░░░█░░░░░░███████░░░░░░█░░░░█░░░░█░░░█░░░█
    ░░░░░░█░░░░░█░░▀▀▀░░█░░░░░█░░░░░▄▄▄▄░░░░█████
    ░░░░░░░█░░░█░▄▀▀▀▀▀▄░█░░░█░░░░░░░░░░░░░░░░░░░
    ░░░░░░░░█░░░█░░░░░░░█░░░█░░░░░░░░░░░░░░░░░░░░
    ░░░░░░░░░▀█░░░░░░░░░░░█▀█▄▄░░░░░░░░░░░░░░░░░░
    ░░░░░░░░████▄▄▄▄▄▄▄▄▄▄▀██████▄░░░░░░░░░░░░░░░
    ░░░░░▄▄█████▄▀▀▀▀▀▀▀▄▄▀░███████▄▄░░░░░░░░░░░░
    ░░▄▄▄███████░▀▄▄▄▄▄▀░░░░███████████▄▄▄░░░░░░░
    ▄██████████░░▀████▀░░░████████████████▄░░░░░░
    ███████████░▀░▄██▄░▀░██████████████████░░░░░░
    ███████████▀░▄████▄░███████████████████░░░░░░

Similar Threads

  1. [Help] what is wrong with this code?
    By _corn_ in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 2
    Last Post: 12-22-2011, 12:01 PM
  2. [Help] What is wrong with this code!
    By killer660 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 14
    Last Post: 08-01-2011, 09:55 AM
  3. [Help] What is wrong with this code?
    By IGNITE09178 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 15
    Last Post: 07-01-2011, 03:59 AM
  4. Bad Syntax - What is wrong with this code?
    By HACKINGPIE in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 5
    Last Post: 01-19-2011, 12:12 AM
  5. What is wrong with this code?
    By t7ancients in forum C++/C Programming
    Replies: 10
    Last Post: 10-19-2009, 01:58 PM