Raised This Month: $32 Target: $400
 8% 

How to block PlayerUse ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 04-04-2011 , 07:11   Re: How to block PlayerUse ?
Reply With Quote #11

Variable pev->oldbuttons itself is checked when jumping. Am not sure is it checked anywhere for IN_USE, but I'd rather be safe than sorry.

No, I recommend PreThink pre.
In any way both of our methods will work. Except that my is based on "better safe than sorry", and wont make glitches for various plugins.

Well, blocking emit_sound will just block emitted sound of the player.

You mean m_afButtonPressed can be checked only if oldbuttons don't contain IN_USE, and release if old do contain.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
 



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 15:31.


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