Thread: grab
View Single Post
  #11  
Old 08-27-2007, 10:25 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by DustyPorViva View Post
Well, the problem is onKeypressed will repeat while the button is held down(much like holding a key down like thissssssssss), so it won't only be called once. That script makes it so it will only work when the key is first pressed, and won't work until it's released.
hmm, I see what you mean, but now I see that they should be this.
as if when you hold down the key, it will trigger the event on new, and on new etc.. all the time, thus in clearing the temp. variables
__________________
Reply With Quote