Finding out how long button is pressed & + command
1. How the heck I can see how long a button is pressed?
I need to get time how long button is pressed, anyone ? :stupid: 2. When I make + client command, so like this : Code:
I want to do that every second I press, a task is performed. So every second task should be performed... How can I do taht thing? Thnx :stupid: |
Try something like this, not sure exactly what you want tho..
Code:
|
I just want that every second you got increasement in privateData ( offset ). So,
Code:
|
Did you even try what I posted? Just pop your code in the comment spot..
|
I tried... It works ^^
Now I need to know how to check how long button is pressed. |
cant you make a holdtime[id]++ every loop in the loopfunction and count them later?
|
Can you show a snippet ? :lol:
|
dont know if this will work, someone better have to take a look....
Code:
|
Try it.
|
I'll try it in next few hours
|
| All times are GMT -4. The time now is 16:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.