Raised This Month: $ Target: $400
 0% 

Detect when player presses two buttons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 03-23-2014 , 20:46   Detect when player presses two buttons
Reply With Quote #1

Hi everybody, well i want to prevent something when a player hold the buttons w and a or w and d buttons simultaneously for two seconds, well my question is how i can detect when the players hold this buttons at the same time for two seconds? i want to set hight gravity when this happen but my quesion is just the other, can someone give me an example? ..thx in advance
wicho is offline
 


Thread Tools
Display Modes

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 06:04.


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