
Originally Posted by
MartinRistov
Tell me the variables and I'll code it and give it to you back to see what's wrong
Code:
loadMovieNum("http://www.arcadeprehacks.com/unhacked_swf/hoverbot2-loader.swf", 0);
/////////// START KEY LISTENER CODE BLOCK //////////////////
// Set the keys you want to listen for here.
// Get key codes here http://people.uncw.edu/tompkinsj/112...t/keyCodes.htm
keylistener = new Object();
keylistener.onKeyDown = function() {
if (Key.getCode() == 49)
{
_level0.totalMetal = 99999999; // All code here between {} will excecute when key is pressed.
}
}
Key.addListener(keylistener);
/////////// END KEY LISTENER CODE BLOCK //////////////////