Results 1 to 9 of 9

Threaded View

  1. #1
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted

    Player Yaw and Pitch

    Code:
    typedef float (*Pitch_t)(void); 
    float PlayerPitch(){
    DWORD* PlayerMGR = (DWORD*)0x00112233;//PlayerManager Address
    Pitch_t Pitch = *(Pitch_t*)(*PlayerMGR + 0x48);
    return Pitch();
    }
    Then your pitch value is PlayerPitch()

    Then for Yaw:

    Code:
    typedef float (*Yaw_t)(void); 
    float PlayerYaw(){
    DWORD* PlayerMGR = (DWORD*)0x00112233;//PlayerManager Address
    Yaw_t Yaw = *(Yaw_t*)(*PlayerMGR + 0x4C);
    return Yaw();
    }
    Then your Yaw is PlayerYaw()

    Credits: Me
    Gellin (Offsets)
    Last edited by CAFlames; 08-21-2011 at 06:25 PM.

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

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

    Xlilzoosk8rX (08-25-2011)

Similar Threads

  1. [Solved] roll yaw and pitch
    By kuyakyloo in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 5
    Last Post: 07-21-2011, 03:26 AM
  2. [SOLVED] Player Glow and GM?
    By lostedminds in forum CrossFire Help
    Replies: 2
    Last Post: 10-10-2010, 11:34 PM
  3. [Release] *NEW*Ghost Beta v2,No Smoke(Player Frame) And...
    By [Banned]mark0108 in forum CrossFire Hacks & Cheats
    Replies: 186
    Last Post: 09-27-2010, 06:34 PM
  4. [Help] Detecting player hits and timers!
    By master131 in forum Call of Duty Modern Warfare 2 Help
    Replies: 0
    Last Post: 08-24-2010, 06:28 PM
  5. [IMPORTANT] if you edited the player.txt and....
    By KnockOut in forum Combat Arms Hacks & Cheats
    Replies: 51
    Last Post: 04-02-2009, 12:07 PM