View Single Post
  #7  
Old 10-12-2011, 08:52 AM
0PiX0 0PiX0 is offline
Coder
0PiX0's Avatar
Join Date: Jan 2011
Posts: 130
0PiX0 is a jewel in the rough0PiX0 is a jewel in the rough
Assuming your resolution is high enough, this screenshots a level, at it's center, when alt + 1 is pressed.
PHP Code:
//#CLIENTSIDE
function GraalControl.onKeyDown(temp.keycode, temp.keystring, temp.scancode) {
  if (
keycode == 1073)
    
makescreenshot2("screenshot" @ int(random(100000,999999)) @ ".png", 0x3f, player.level.width / 2, player.level.height / 2, player.z, player.level.width * 16, player.level.height * 16);
} 
__________________
Reply With Quote