XxCozzaxX Posted April 7, 2010 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?
Dark Dragon Posted April 7, 2010 Posted April 7, 2010 onClientRender + getControlState Loads of fun for free! Also a lot of fun for free!
50p Posted April 7, 2010 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. - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
darkdreamingdan Posted April 7, 2010 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. VCP FOREVER!
Dark Dragon Posted April 7, 2010 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 Loads of fun for free! Also a lot of fun for free!
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