What do these do?
i was looking at a plugin and i saw these two :
Code:
thanks! |
Re: What do these do?
We cant know if we dont see the plugin, share the plugin
|
Re: What do these do?
|
Re: What do these do?
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 |
Re: What do these do?
Ok, i got it. Thank you all!
|
All times are GMT -4. The time now is 00:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.