Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int clientIndex = 0;
- int buttons = *(int *)(getPlayerState(clientIndex) + 0x2D68 + 0x6C5);
- for(;;)
- {
- if (Dvar_GetBool("cl_ingame"))
- {
- if (Key_Down(buttons, 0x01/*button enum here*/))
- {
- }
- clientIndex++;
- }
- }
Add Comment
Please, Sign In to add comment