Guest User

Untitled

a guest
Jan 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. int clientIndex = 0;
  2. int buttons = *(int *)(getPlayerState(clientIndex) + 0x2D68 + 0x6C5);
  3. for(;;)
  4. {      
  5.     if (Dvar_GetBool("cl_ingame"))
  6.     {
  7.                
  8.         if (Key_Down(buttons, 0x01/*button enum here*/))
  9.         {
  10.  
  11.         }
  12.  
  13.         clientIndex++;
  14.     }
  15. }
Add Comment
Please, Sign In to add comment