Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef enum Buttons
- {
- X = 1024,
- O = 512,
- Square = 2097152,
- L3 = 139264,
- R3 = 262144,
- L2 = 32768,
- R2 = 16384,
- Start = 128,
- L1 = 2056,
- R1 = 65536,
- Crouch = 512,
- Prone = 256
- }Buttons;
- bool ButtonPressed(int clientIndex, int Button)
- {
- return *(int*)Playerstate(clientIndex) + 0x3609 == Button;
- }
- //credits to sticky
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement