yes, as rayp suggested:
file_for_screen (STRING* filename,var number);
is here right.

use -1 as number to write the file name only.
also the screenshot gets taken one frame after the function call


POTATO-MAN saves the day! - Random