XxCozzaxX Posted April 7, 2010 Share Posted April 7, 2010 How do i make the keystate so that if you hold down the button it does what i need it to do instead of pressing it 200 times for it to do what i want? Link to comment
Dark Dragon Posted April 7, 2010 Share Posted April 7, 2010 onClientRender + getControlState Link to comment
50p Posted April 7, 2010 Share Posted April 7, 2010 How do i make the keystate so that if you hold down the button it does what i need it to do instead of pressing it 200 times for it to do what i want? You can use bindKey which calls function when key is pressed and released. You can start something when key is down and you can stop it once the key is released. Link to comment
darkdreamingdan Posted April 7, 2010 Share Posted April 7, 2010 I reccomend you use 50p's method of bindKey, which can fire once for pressing down, and again for releasing up. Link to comment
Dark Dragon Posted April 7, 2010 Share Posted April 7, 2010 depends really much on what you're doing though. if you tell us what exactly you're doing we could recommend you one of those two ways Link to comment
XxCozzaxX Posted April 7, 2010 Author Share Posted April 7, 2010 Its ok, i dont need to do it now. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now