As with Russian community to me didn't help, I want to address to you.
For cutting of the necessary image, I use screen_save_part (fname, x, y, w, h).
I want to make many screens but if I enter:
screen_save_part('screen.jpg',48,80,100,30) in pressing of F12 and during game I will press F12, screen.jpg it will be replaced.
Tried so:
i=i+1; screen_save_part(i + 'screen.jpg',48,80,100,30);
In object create: i=0
On what GM gives out a mistake:
ERROR in
action number 1
of Step Event
for object obj_control:
Error in code at line 2:
screen_save_part(i + 'screen.jpg',48,80,100,30)
^
at position 23: Wrong type of arguments to +.Because of what a mistake I know but how to make on another I do not know (If there are additional libraries, give the reference to a gallop please.











