Raised This Month: $ Target: $400
 0% 

Checking where "+use" is used.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
t3hNox
Senior Member
Join Date: Oct 2009
Old 12-05-2010 , 04:51   Re: Checking where "+use" is used.
Reply With Quote #5

Quote:
Originally Posted by Drak View Post
You want your code to be executed, when the "+use" key doesn't activate ANYTHING?
Yes, exactly. Sorry that my first post was not very clear.
I was also thinking about Ham_Use but I have no idea about "..check if the hooked function was called.." part. Should I check if it returs anything when it is called by a player and if not then execute my code ?
As far as I know PreThink would consume more resources than the method with Ham_Use so I'd like to give it a try.
t3hNox 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 11:25.


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