Raised This Month: $ Target: $400
 0% 

how to write the code Press button E twice?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-24-2010 , 22:39   Re: how to write the code Press button E twice?
Reply With Quote #1

Quote:
Originally Posted by Exolent[jNr] View Post
Terrible method.

You should hook Ham_ObjectCaps to detect when use key was pressed.
To check if player pressed use key twice, save the gametime of when the player presses the button and compare that to the current gametime to see how long ago it was when player pressed use key.
lol, That's what I've seen used all the time. Never seen anyone suggest Ham_ObjectCaps when people ask for 'hooking' +use.
__________________
fysiks is offline
Reply



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


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