Raised This Month: $ Target: $400
 0% 

General hamsandwich questions


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-20-2012 , 04:35   Re: General hamsandwich questions
Reply With Quote #10

Just to say that i've just figured out that ObjectCaps is not a reliable method to detect player pressing +use key.
If some players stay near to that player, ObjectCaps is triggered also for those players, which trigger false positives.

You could say that checking for pev_button could fix it, but if the 'near' player is also holding +use, then the function is sent 2 times instead of 1, and button check gonna be past.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
 



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:33.


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