Raised This Month: $ Target: $400
 0% 

What do these do?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
thEsp
BANNED
Join Date: Aug 2017
Old 05-14-2020 , 10:29   Re: What do these do?
Reply With Quote #1

pev_button (eq: EV_INT_button) = Buttons a client is pressing in the current frame.
pev_oldbuttons (eq: EV_INT_oldbuttons) = Buttons a client has pressed (released) in the last frame.

Generally both functionalities are hooked via FM_CmdStart and FM_CmdStop, afaik. Tho take in mind that both functions return a bitwise value, which means you can hook multiple buttons in this case.

https://www.amxmodx.org/api/hlsdk_co...buttons-values

Last edited by thEsp; 05-14-2020 at 10:35.
thEsp is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode