Results 1 to 3 of 3
  1. #1
    jokjok123's Avatar
    Join Date
    Apr 2014
    Gender
    male
    Posts
    198
    Reputation
    10
    Thanks
    108

    What is wrong with this RCS?

    Code:
    void rcs()
    {
    	DWORD dwPlayer = Read<DWORD>(ChromeClient + PlayerBase);
    	DWORD dwEngine = Read<DWORD>(ChromeClientEngine + dwEnginePointer);
    	int m_iShotsFired = Read<int>(dwPlayer + dwIShotsFired);
    
    	int oldPunchx = 0;
    	int oldPunchy = 0;
    	int m_vecPunch = Read<int>(dwPlayer + dwVecPunch);
    	int m_vecPunchx = 2.0f;
    	int m_vecPunchy = 2.0f;
    
    if (m_iShotsFired > 0) {
    	int currentAngles = Read<int>(dwEngine + dwSetViewAngle);
    
    	int Vector = m_vecPunch;
    	int modifierx = oldPunchx;
    	int modifiery = oldPunchy;
    
    	int currentAnglesx = modifierx;
    	int currentAnglesy = modifiery;
    
    	Write<int>(dwEngine + dwSetViewAngle, currentAngles);
    }
    }

  2. The Following User Says Thank You to jokjok123 For This Useful Post:

    Nine11 (02-13-2017)

  3. #2
    samlarenskoog's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    104
    Reputation
    25
    Thanks
    57
    My Mood
    Cheerful
    Quote Originally Posted by jokjok123 View Post
    Code:
    void rcs()
    {
    	DWORD dwPlayer = Read<DWORD>(ChromeClient + PlayerBase);
    	DWORD dwEngine = Read<DWORD>(ChromeClientEngine + dwEnginePointer);
    	int m_iShotsFired = Read<int>(dwPlayer + dwIShotsFired);
    
    	int oldPunchx = 0;
    	int oldPunchy = 0;
    	int m_vecPunch = Read<int>(dwPlayer + dwVecPunch);
    	int m_vecPunchx = 2.0f;
    	int m_vecPunchy = 2.0f;
    
    if (m_iShotsFired > 0) {
    	int currentAngles = Read<int>(dwEngine + dwSetViewAngle);
    
    	int Vector = m_vecPunch;
    	int modifierx = oldPunchx;
    	int modifiery = oldPunchy;
    
    	int currentAnglesx = modifierx;
    	int currentAnglesy = modifiery;
    
    	Write<int>(dwEngine + dwSetViewAngle, currentAngles);
    }
    }
    Use Vectors for angles

  4. #3
    Smoke's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    11,899
    Reputation
    2661
    Thanks
    4,610
    My Mood
    Amazed
    Been over a week since last update/bump after answers, assuming solved.

    /Closed.


    CLICK TO BUY NOW!!


    Quote Originally Posted by Liz View Post
    This is my first vouch, ever. Rapidgator account worked perfectly. Would buy in the future.

Similar Threads

  1. What's wrong with this guy?
    By Mr.Magicman in forum General
    Replies: 15
    Last Post: 06-01-2010, 08:53 AM
  2. What is wrong with this code?
    By t7ancients in forum C++/C Programming
    Replies: 10
    Last Post: 10-19-2009, 01:58 PM
  3. What's wrong with this?
    By yup in forum Visual Basic Programming
    Replies: 4
    Last Post: 03-18-2008, 10:36 AM
  4. what is wrong with this ??
    By floris12345! in forum Visual Basic Programming
    Replies: 5
    Last Post: 01-16-2008, 05:22 PM
  5. what is wrong with this source?
    By Petros in forum C++/C Programming
    Replies: 6
    Last Post: 07-04-2007, 04:33 PM