Getting old buttons
Ok, could someone explain what get_user_oldbutton can do?
Can it get the buttons the person pressed BEFORE pressing the button they just did? I'm not getting it. Help me please! |
Its the buttons of the last frame (although i prefer to get them on my own in server_frame because I have a bad experience with this).
When you have the current and the last buttons, you can easily get what buttons were pressed / released between this frame and the frame before. Code:
That is how i do it in my superkeeper plugin. |
Thank you!
|
| All times are GMT -4. The time now is 17:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.