Screenshot

    Example script with simple structur - 1 Loop

  • 0A1E: dump_screen 1 capture the screen and store the image as jpeg in SA Userfiles\Gallery
  • An "if_player_defined"-check isn't neccesary, because the script don't include a code depending to the player -char or -actor
  • It makes sense to let the code wait for a second after the key_press check
  • otherwise the key_press check would be repeated to fast
  • {$CLEO .cs}
    :screen_00
    03A4: name_thread 'SCR'
    
    :screen_01
    0001: wait  0 ms
    if
    0AB0:   key_pressed 75//-----------------key = K  
    004D: jump_if_false @screen_01
    0A1E: dump_screen 1
    0001: wait  1000 ms
    0002: jump @screen_01

 

nothing

    San Andreas

    CLEO Script 1

  • Forum
  • Tutorials
  • screenshots
  • Impressum
  • add my banner
    pic
    pic
    pic
    http://zazmahall.de/index.htm

    pic
nothing