Advertisement
keybode

cs 1.6 external playermove_t

Aug 1st, 2014
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.47 KB | None | 0 0
  1. playermove_t playermove;
  2.  
  3. HalfLife.Read ( ModuleHW.m_dwBaseAddress + 0x1006AE0, &playermove, sizeof(playermove_t) );
  4.  
  5. struct playermove_t
  6. {
  7.     int     player_index;
  8.     int     server;
  9.     int     multiplayer;                    // 1 == multiplayer server
  10.     float   time;                           // realtime on host
  11.     float   frametime;                      // duration of this frame
  12.     float   forward[3], right[3], up[3];    // vectors for angles
  13.     float   origin[3];                      // movement origin
  14.     float   angles[3];                      // movement view angles
  15.     float   oldangles[3];                   // angles before movement view angles were looked at.
  16.     float   velocity[3];                    // current movement velocity
  17.     float   movedir[3];                     // for waterjumping, a forced forward velocity so we can fly over lip of ledge.
  18.     float   basevelocity[3];                // velocity of the conveyor we are standing, e.g.
  19.  
  20.     float   view_ofs[3];                    // our eye position;
  21.     float   flDuckTime;                     // time we started duck
  22.     int     bInDuck;                        // in process of ducking or ducked already?
  23.  
  24.     int     flTimeStepSound;                // next time we can play a step sound
  25.     int     iStepLeft;
  26.  
  27.     float   flFallVelocity;
  28.     float   punchangles[3];
  29.  
  30.     float   flSwimTime;
  31.  
  32.     float   flNextPrimaryAttack;
  33.  
  34.     int     effects;
  35.  
  36.     int     flags;
  37.     int     usehull;
  38.     float   gravity;
  39.     float   friction;
  40.     int     oldbuttons;
  41.     float   waterjumptime;
  42.     int     dead;
  43.     int     deadflag;
  44.     int     spectator;
  45.     int     movetype;
  46.  
  47.     int     onground;
  48.     int     waterlevel;
  49.     int     watertype;
  50.     int     oldwaterlever;
  51.  
  52.     char    sztexturename[256];
  53.     char    chtexturetype;
  54.  
  55.     float   maxspeed;
  56.     float   clientmaxspeed;
  57. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement