Thread
:
How to block PlayerUse ?
View Single Post
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
04-04-2011 , 07:11 Re: How to block PlayerUse ?
#
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
View Public Profile
Send a private message to MPNumB
Visit MPNumB's homepage!
Find More Posts by MPNumB